Opened 8 years ago

Closed 8 years ago

# Read only ticket according to custom resolution type

Reported by: Owned by: Jared anybody high Request-a-Hack normal read only 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.

### comment:1 follow-up:  2 Changed 8 years ago by Ryan J Ollos

Resolution: → worksforme new → closed

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 8 years ago by Jared

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