Opened 10 years ago
Closed 9 years ago
#12307 closed defect (fixed)
Ticketstats is not showing when reporting module is disabled
Reported by: | Jorrit Schippers | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TracTicketStatsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
In my trac.ini I have trac.ticket.report.* = disabled
because I like the query module better (see trac:wiki:TracReports). This module provides the REPORT_VIEW
permission.
With the REPORT_VIEW
permission gone, there is no way to get ticket stats working since [13100]. I propose that ticketstats implements IPermissionRequestor
and adds REPORT_VIEW
too. My test suggests that there is no error when two modules add the same permission.
Attachments (1)
Change History (7)
Changed 10 years ago by
Attachment: | ticketstats-12307.patch added |
---|
comment:2 follow-up: 4 Changed 9 years ago by
That seems like a proper solution too. I see that the required permission is not mentioned on the TracTicketStatsPlugin page. After you commit the change, maybe it is wise to put something up there so people know which permissions the plugin uses.
comment:3 Changed 9 years ago by
Status: | new → accepted |
---|
comment:4 Changed 9 years ago by
Replying to jorrit:
After you commit the change, maybe it is wise to put something up there so people know which permissions the plugin uses.
The wiki is editable by anyone and I review all the changes through the RSS feed. I appreciate if you can make the documentation change since I have trouble even keeping up with the tickets.
comment:5 Changed 9 years ago by
I did not realize that, I will do that when the change is committed.
quickfix