Modify ↓
#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:
- Create a new permission group called
SIGNER
- Add 'signed' as a resolution type
- Users with permission
SIGNER
are allowed to resolve a request as 'Signed'
Desired behavior:
- Once a ticket is resolved as 'Signed', the ticket is now read only except to
TRAC_ADMIN
- 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.
- 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 follow-up: 2 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Replying to rjollos:
This can be done with the proper configuration and a small plugin implementing
IPermissionPolicy
(and possiblyIRequestFilter
). 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
Note: See
TracTickets for help on using
tickets.
This can be done with the proper configuration and a small plugin implementing
IPermissionPolicy
(and possiblyIRequestFilter
). 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?