Opened 7 years ago

Last modified 19 months ago

#5594 new defect

Respect Trac permissions

Reported by: rjollos Owned by:
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_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 7 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 6 years ago by rjollos

  • Owner changed from khundeen to rjollos

comment:3 Changed 6 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 6 years ago by rjollos

  • Priority changed from normal to high

comment:5 Changed 6 years ago by rjollos

  • Status changed from new to assigned

comment:6 Changed 5 years ago by rjollos

  • Status changed from assigned to new

comment:7 Changed 19 months ago by rjollos

  • Owner rjollos deleted

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.