Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11885 closed enhancement (worksforme)

Read only ticket according to custom resolution type

Reported by: Jared Owned by: anybody
Priority: high Component: Request-a-Hack
Severity: normal Keywords: read only
Cc: Trac Release: 1.0

Description

I am looking for a solution that will work like this:

  1. Create a new permission group called SIGNER
  2. Add 'signed' as a resolution type
  3. Users with permission SIGNER are allowed to resolve a request as 'Signed'

Desired behavior:

  1. Once a ticket is resolved as 'Signed', the ticket is now read only except to TRAC_ADMIN
  2. Users without TRAC_ADMIN permissions are unable to modify the ticket in any way. When an attempt is made, the user should receive an error upon save indicating the ticket is signed and therefore read only.
  3. Visually distinguish tickets resolved as 'Signed' by either slightly changing the color of the description body, or add a draft style 'SIGNED' watermark to the right and left side of the description body.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

This can be done with the proper configuration and a small plugin implementing IPermissionPolicy (and possibly IRequestFilter). I'd be happy to show you how this can be done, but I'd prefer to discuss on the trac:MailingList (trac-users), so that it has greater visibility to other users that might have input for you. Would you kindly post the same questions to trac-users?

comment:2 in reply to:  1 Changed 10 years ago by Jared

Replying to rjollos:

This can be done with the proper configuration and a small plugin implementing IPermissionPolicy (and possibly IRequestFilter). I'd be happy to show you how this can be done, but I'd prefer to discuss on the trac:MailingList (trac-users), so that it has greater visibility to other users that might have input for you. Would you kindly post the same questions to trac-users?

Sounds good - I've created a post here https://groups.google.com/forum/#!topic/trac-users/1GNDHTObQKg

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anybody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.