Add permissions to restrict access to individual reports
This plugin can be used to restrict users to see only specific reports. The plugin lets you choose permissions for each report. The users have to have at least one of the permissions to be able to see it on the 'Available Reports' -page and to access it directly.
An alternate implementation using t:TracFineGrainedPermissions is discussed in #11049 and may eventually obsolete this plugin. The necessary changes to replicate the essential functionality of this plugin are to fix an open issue in Trac (t:#11176) so that t:TracFineGrainedPermissions are respected when preparing the list of reports on the Report List page (/report), and to provide an WebAdmin interface to editing the authz file (see #9947 for the AccountManagerPlugin).
In version 0.2 I made the plugin conform to the Trac standard of allowing only all uppercase for permissions. This requires a complete new table structure which means you have to enter the permission for each report again.
If you have any issues, create a new ticket.
Download the zipped source from here.
How to choose the permissions or groups needed to view a report:
The first report is not visible:
If a user tries to access the report via changes in the url he/she gets this message
-  by rjollos on 2013-05-26 00:46:16
Refs #11047: FIX: The 'Return to Last Query' and 'Custom Query' links were being filtered from the report_list page (these links only exist in Trac 1.0 and later).
-  by rjollos on 2013-05-17 02:25:32
- Reworded log message from .
- Added a debug-level log message when user is blocked from viewing a report.
-  by rjollos on 2013-05-15 07:29:24
Fixes #11083: Show a message rather than an empty listbox when no permissions are defined for a report.