Modify ↓
#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: |
Description
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 8 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 Changed 8 years ago by
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:
[components] privatereports.privatereports.privatereports = enabled
with:
[components] 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
Note: See
TracTickets for help on using
tickets.



In 16862: