Version 19 (modified by 8 years ago) (diff) | ,
---|
Contents
Add permissions to restrict access to individual reports
Description
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 TracFineGrainedPermissions is discussed in #11049 and effectively does the same thing as this plugin. Due to some defects in Trac, TracFineGrainedPermissions only work for the report realm in Trac 1.0.2 and later. If you are running Trac 1.0.2 or later, you may want to consider using TracFineGrainedPermissions rather than this plugin.
Updates
In version 0.2 I made the plugin conform to the Trac standard of allowing only all uppercase for permissions. This requires a new table structure, which means you have to enter the permission for each report again.
Bugs/Feature Requests
Existing bugs and feature requests for PrivateReportsPlugin are here.
If you have any issues, create a new ticket.
defect |
6 / 6 |
|
---|---|---|
enhancement |
5 / 5 |
|
task |
1 / 1 |
Download
Download the zipped source from here.
Source
You can check out PrivateReportsPlugin from here using Subversion, or browse the source with Trac.
Installation
General instructions on installing Trac plugins can be found on the TracPlugins page.
Example
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, then he/she gets this message:
Recent Changes
Author/Contributors
Author: mhenke
Maintainer: Ryan J Ollos
Contributors: rjollos
Attachments (3)
- privatereports_reports.png (12.1 KB) - added by 14 years ago.
- PrivateReportAdmin-Trac1.0.png (33.0 KB) - added by 11 years ago.
- private_reports_no_perm.png (7.1 KB) - added by 11 years ago.
Download all attachments as: .zip