Version 12 (modified by Ryan J Ollos, 6 years ago) (diff)

Described an alternative implementation.

Lets you disable access to each report via choosable permissions


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).


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 here.

If you have any issues, create a new ticket.


Download the zipped source from [download:privatereportsplugin here].


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


How to choose the permissions or groups needed to view a report:

No image "privatereports_admin.PNG" attached to PrivateReportsPlugin

The first report is not visible:

If a user tries to access the report via changes in the url he/she gets this message

Recent Changes

17154 by rjollos on 2018-04-24 21:31:54
TracPrivateReports 1.2.0dev: Refactor r17152

Refs #13295.

17152 by rjollos on 2018-04-24 20:31:32
TracPrivateReports 1.2.0dev: Use PermissionSystem.get_user_groups

  • Keep compatibility fallback function for Trac < 1.3.3.
  • Render Genshi template in compatibility mode for Trac >= 1.3.2

Fixes #13295.

16878 by rjollos on 2017-10-15 04:34:44
TracPrivateReports 1.2.0dev: Make compatible with Trac 1.2+

Fixes #13293.



Author: mhenke
Maintainer: mhenke
Contributors: rjollos

Attachments (3)

Download all attachments as: .zip