[[PageOutline(2-5,Contents,pullout)]] = 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 t:TracFineGrainedPermissions is discussed in #11049 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). == Updates == 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. == Bugs/Feature Requests == Existing bugs and feature requests for PrivateReportsPlugin are [report:9?COMPONENT=PrivateReportsPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=PrivateReportsPlugin&owner=mhenke&cc=rjollos new ticket]. == Download == Download the zipped source from [download:privatereportsplugin here]. == Source == You can check out PrivateReportsPlugin from [http://trac-hacks.org/svn/privatereportsplugin here] using Subversion, or [source:privatereportsplugin browse the source] with Trac. == Example == How to choose the permissions or groups needed to view a report: [[Image(PrivateReportAdmin-Trac1.0.png)]] The first report is not visible: [[Image(privatereports_reports.png)]] If a user tries to access the report via changes in the url he/she gets this message [[Image(private_reports_no_perm.png)]] == Recent Changes == [[ChangeLog(privatereportsplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:mhenke] [[BR]] '''Maintainer:''' [wiki:mhenke] [[BR]] '''Contributors:''' [wiki:rjollos]