If the data export page has its access restricted (role or permission), and the user does not have such rights, the attachment link shown on another display, should not show. When the user clicks this attachment link they are correctly greeted with an access denied page. Typically with Drupal, if the user does not have access to a page then any link to it is removed.

Comments

steven jones’s picture

Issue tags: +Needs tests

We should add a test to catch this one, should be simple enough.

I think we're just missing a call to some views access callback somewhere.

dpearcefl’s picture

This problem also exists in the v6 release. Would like a patch for it also.

phily’s picture

pleeaaasseee do it, I'm not that good on modifying permissions on a module code ;-)
Thanks

prdctvtxt’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.13 KB
new27.93 KB

very basic access control in patch attached.

acbramley’s picture

Status: Needs review » Needs work

The access check should check the access that is configured on the display

guillaumev’s picture

Status: Needs work » Needs review
StatusFileSize
new2.76 KB

Here is a patch that should fix it.

steven jones’s picture

Status: Needs review » Fixed

Aces! Thanks so much for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.