Modify

Opened 4 years ago

Closed 15 months ago

Last modified 15 months ago

#8114 closed enhancement (fixed)

Require REPORT_VIEW permission to access ticket stats page, and eliminate TSTATS_VIEW permission

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

Description

I'm still thinking about this, but as noted in comment:7:ticket:3594, I'm not sure it makes sense to have another permission for presenting in another way information that is already available given other permissions.

The number of opened and closed tickets in a specified time period can normally be viewed from the timeline. That is, this is really just a graphical presentation of the timeline filter Tickets opened and closed, as well as showing the number of open tickets on a certain date, which can be viewed if one has REPORT_VIEW permission. Well, the latter is not exactly equivalent because historical information is shown on the graph, but it is close.

There are a couple of options here:

  • Make the required permission configurable, with the default being TSTAT_VIEW.
  • Make the required permission configurable, with the default being REPORT_VIEW and/or TSTAT_VIEW.
  • Drop the TSTAT_VIEW permission, and require TIMELINE_VIEW and/or REPORT_VIEW permissions.

I also wonder if we might remove the mainnav link and add metanav links to the timeline and/or report pages.

Attachments (0)

Change History (3)

comment:1 Changed 15 months ago by rjollos

  • Status changed from new to assigned
  • Summary changed from Require REPORT_VIEW permission to access ticket stats page, and elminate TSTATS_VIEW permission to Require REPORT_VIEW permission to access ticket stats page, and eliminate TSTATS_VIEW permission

comment:2 Changed 15 months ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [13100]) Fixes #8114: Removed TSTATS_VIEW permission. REPORT_VIEW is now required for the "Ticket Stats" tab to be present and to view the graph.

comment:3 in reply to: ↑ description Changed 15 months ago by rjollos

Replying to rjollos:

I also wonder if we might remove the mainnav link and add metanav links to the timeline and/or report pages.

I'm still considering this, but it would be handled in another ticket.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.