Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12102 closed enhancement (worksforme)

Separate permissions for TICKET_VIEW and QUERY_CREATE

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: query system Version: 1.0-stable
Severity: major Keywords: Permissions
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Would like to setup Trac such that users can view certain types of tickets, but not others. Even though I've prevented users from using the View Tickets tab, I have given them access to specific tickets where components, priority and other parameters contain links which take the user to the custom query page. This gives them access to all tickets.

Attachments (0)

Change History (2)

in reply to:  description comment:1 by Ryan J Ollos, 9 years ago

Replying to anonymous:

I have given them access to specific tickets …

Through what mechanism have you restricted access to specific tickets? If you are concerned about users seeing the Ticket Query view, then I suppose you haven't really restricted access to any tickets. Whatever tickets the user can see from the query view they could also access by directly entering a URL or using the Prev/Next navigation on the ticket page.

Most likely, what you need is a custom permissions policy, like th:PrivateTicketsPlugin implements.

Version 0, edited 9 years ago by Ryan J Ollos (next)

comment:2 by Ryan J Ollos, 9 years ago

Resolution: worksforme
Status: newclosed

If you have further questions about implementing IPermissionPolicy or th:PrivateTicketsPlugin, please ask on the MailingList.

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.