Add permissions to restrict access to individual reports

Notice: 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.


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.

In version 0.2 the plugin conforms 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.


5 / 5


2 / 2


1 / 1


Download the zipped source from here.


You can check out PrivateReportsPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.


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

13240 by rjollos on 2013-05-25 22: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).
13151 by rjollos on 2013-05-17 00:25:32

Refs #11047:

  • Reworded log message from [13136].
  • Added a debug-level log message when user is blocked from viewing a report.
13137 by rjollos on 2013-05-15 05:29:24
Fixes #11083: Show a message rather than an empty listbox when no permissions are defined for a report.


Author: mhenke
Maintainer: Michael Henke
Contributors: rjollos

Last modified 22 months ago Last modified on Dec 15, 2015, 2:41:42 PM

Attachments (3)

Download all attachments as: .zip