I should have specified, in this case I am only wanting these permissions 
invoked when a ticket has a certain milestone selected.

On Tuesday, January 17, 2017 at 7:01:08 PM UTC-6, RjOllos wrote:
>
>
>
> On Tuesday, January 17, 2017 at 1:24:11 PM UTC-8, Matt wrote:
>>
>> Standard ticket fields of owner and reporter are editable. Trying to use 
>> ticket_validation.py to ensure certain type tickets can only be closed by a 
>> predefined set of users.
>>
>> Is there a field for "change user"?
>>
>
> You can specify a permission for a workflow action (1). You probably have 
> the following in your ticket-workflow section:
>
> resolve = new,assigned,accepted,reopened -> closed
> resolve.operations = set_resolution
> resolve.permissions = TICKET_MODIFY
>
> You could replace TICKET_MODIFY with another permission. You can create a 
> custom permission (2), such as TICKET_CLOSE, and grant that permission to 
> the chosen users.
>
> [ticket-workflow]
> resolve.permissions = TICKET_CLOSE
>
> [extra-permissions]
> _perms = TICKET_CLOSE
>
> - Ryan
>
> (1) 
> https://trac.edgewall.org/wiki/0.12/TracWorkflow#BasicTicketWorkflowCustomization
> (2) 
> https://trac.edgewall.org/wiki/0.12/TracPermissions#CreatingNewPrivileges
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to