On Tuesday, January 23, 2018 at 1:58:36 PM UTC-8, mamamia888 wrote:
>
>  Can Trac ticket be closed by "reporter" only? Based on what I checked,
>  it's only allowed to use the permissions(TICKET_MODIFY, etc.) to control.
>  If it's possible, could you share the information to modify the ticket
>  work flow in order to enforce it?
>

Similar requests arise fairly often so we've added a CookBook entry:
https://trac.edgewall.org/wiki/CookBook/PermissionPolicies#RestrictaWorkflowActiontotheTicketOwner

In the python code provided on that page, you just need to replace:
ticket['owner'] -> ticket['reporter']

Let me know if anything is unclear. I will modify the page later today to 
describe how to enforce the permission policy for reporter rather than 
owner.

- Ryan 

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
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