How to display a warning message when user does not have the right permission to view report?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | forena_access_denied.patch | 685 bytes | metzlerd |
How to display a warning message when user does not have the right permission to view report?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | forena_access_denied.patch | 685 bytes | metzlerd |
Comments
Comment #1
metzlerd commentedThere 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.
Comment #2
metzlerd commentedComment #3
metzlerd commentedHeres a patch against 7.x-4.x-dev that makes this the default behavior.
Comment #4
metzlerd commented