I'd like to restrict ticket workflow transitions to users of a
specific group. For example, currently I have a step in the workflow
that requires having TICKET_ADMIN permission:

resolve = implemented -> closed
resolve.operations = set_resolution
resolve.permissions = TICKET_ADMIN

I'd like to have the permission based on group membership. Only
members of the ticket review board will be able to set the status to
closed. It would look something like this:

resolve.permissions = @trb

The reason for the change is that I don't want to give the trb group
TICKET_ADMIN, and there is currently no permission that is unique to
them. I could create a permission using BlackMagicTicketTweaks or
another existing plugin, but the group membership seems like a more
elegant solution.

I was considering adding this as an extension to
VirtualTicketPermissionsPlugin (2), but I was hoping to get some
feedback as to whether this was already possible, and get some
feedback on the proposed feature, though I haven't looked closely at
how to implement this yet.

(1) http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin
(2) http://trac-hacks.org/wiki/VirtualTicketPermissionsPlugin

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to