Modify

Opened 5 years ago

Last modified 3 years ago

#5594 new defect

Respect Trac permissions

Reported by: rjollos Owned by: rjollos
Priority: high Component: TracMetrixPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

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 (6)

comment:1 Changed 5 years ago by rjollos

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.

comment:2 Changed 4 years ago by rjollos

  • Owner changed from khundeen to rjollos

comment:3 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 4 years ago by rjollos

  • Priority changed from normal to high

comment:5 Changed 4 years ago by rjollos

  • Status changed from new to assigned

comment:6 Changed 3 years ago by rjollos

  • Status changed from assigned to new

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.