Modify ↓
Opened 16 years ago
Last modified 10 years ago
#5594 new defect
Respect Trac permissions
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | high | Component: | TracMetrixPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description (last modified by )
I have a group setup with only the following permissions:
- TICKET_APPEND
- TICKET_CREATE
- TICKET_EDIT_CC
- TICKET_MODIFY
- TICKET_VIEW
- TICKET_VIEW_SELF (provided by the PrivateTicketsPlugin).
Users in this group can still navigate to /pdashboard. They can see:
- Ticket Summary (which should require at least TICKET_VIEW privilege, however it still displays even if I revoke TICKET_VIEW for this group)
- Milestone summary (which should require MILESTONE_VIEW permissions).
Repository statistics renders as a blank graph (which makes me wonder which permissions are required for the graph to render; i did some testing, but couldn't figure this out).
Selecting Show Project Metrics results in ROADMAP_VIEW privileges are required to perform this operation, which is the desired behavior.
Attachments (0)
Change History (7)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
| Owner: | changed from Bhuricha Deen Sethanandha to Ryan J Ollos |
|---|
comment:3 Changed 15 years ago by
| Description: | modified (diff) |
|---|
comment:4 Changed 15 years ago by
| Priority: | normal → high |
|---|
comment:5 Changed 15 years ago by
| Status: | new → assigned |
|---|
comment:6 Changed 14 years ago by
| Status: | assigned → new |
|---|
comment:7 Changed 10 years ago by
| Owner: | Ryan J Ollos deleted |
|---|
Note: See
TracTickets for help on using
tickets.



Additionally, it would be nice if the TracMetrix button did not display on the main nav bar unless the user has ROADMAP_VIEW permissions. I have worked around this by implementing the permission via MenusPlugin, but it would be a nice feature to be included with TracMetrixPlugin.
Finally, I should have mentioned earlier that I'm using the latest version, 0.1.7, of TracMetrixPlugin.