Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13298 closed enhancement (fixed)

Use IPermissionPolicy to filter reports

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: PrivateReportsPlugin
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release:


The plugin can be simplified and made compatible with Trac 1.5.1+, which drops Genshi support.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

In 16862:

TracPrivateReports 1.0.0dev: Implement as a permission policy

Refs #13292, Fixes #13298.

comment:2 Changed 5 years ago by Ryan J Ollos

I've added a new permission policy: PrivateReportsPolicy.

Add PrivateReportsPolicy to permission_policies. Generally it should be the first in the list (please post your permission_policies setting if you are unsure).

Example for Trac 1.0:

permission_policies = PrivateReportsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy

Also, replace:

privatereports.privatereports.privatereports = enabled


privatereports.* = enabled

The plugin name has been changed, so be sure to uninstall the old plugin before installing the new plugin:

$ pip uninstall PrivateReports
$ pip install .  # execute this from the source directory
Last edited 5 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 5 years ago by Ryan J Ollos

Documented in PrivateReportsPlugin@24.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.