How to display a warning message when user does not have the right permission to view report?

CommentFileSizeAuthor
#3 forena_access_denied.patch685 bytesmetzlerd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

metzlerd’s picture

Category: support » feature

There isn't currently a way to do this. Reports don't show up in their list. Permissions are associated with data blocks and we leverage this feature to suppress portions of the report for users that don't have the permission to see it. A report may have two data blocks on it one that shows for group a and b and another that shows for group and b. In this way, we show the user the information they have access to based on their security.

I'd entertain this as a feature request, but I think we would not always want this message to display, and I need people to weigh in on when we'd actually want to see this error message as it really can' t always happen without crippling the product.

metzlerd’s picture

Version: 7.x-2.0 » 7.x-3.x-dev
metzlerd’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Issue summary: View changes
Status: Active » Needs review
FileSize
685 bytes

Heres a patch against 7.x-4.x-dev that makes this the default behavior.

metzlerd’s picture

Assigned: Unassigned » metzlerd
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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