|Version 2 (modified by bof, 2 years ago) (diff)|
Fill Assign-To by looking at permission groups
This plugin is an IValidOwnerProvider, providing the FlexibleAssignToPlugin with a specific method to determine user lists for the Assign-To dropdown box.
The list of users is constructed by looking into the permissions table for all-lowercase usernames which are members of certain (configurable) groups.
There is both a global configuration option for a list of such group names, as well as a per-workflow-step variable which takes precedence when it exists.
The groups do not need to have any special permissions defined. Group resolution is done recursively (to a hardcoded depth of 5).
If you have any issues, create a new ticket.
Download the zipped source from here.
Assuming permission groups Owner_All, Owner_Developer, and Owner_Developer_Management, and an already existing workflow step submit-to-development, the following configuration will
- by default, put all users of group Owner_All into the assign-to box
- for the special workflow step, put there the users from either group Owner_Developer or Owner_Developer_Manager.
[groupingassignto] owner_group = Owner_All [ticket-workflow] ... submit-to-development.owner_group = Owner_Developer | Owner_Developer_Manager