| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = GroupingAssignTo = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | This plugin is an {{{IValidOwnerProvider}}}, providing the |
| 8 | FlexibleAssignToPlugin with a specific method to determine user lists for the Assign-To dropdown box. |
| 9 | |
| 10 | The list of users is constructed by looking into the '''permissions''' table for |
| 11 | all-lowercase usernames which are members of certain (configurable) groups. |
| 12 | |
| 13 | There is both a global configuration option for a list of such group names, |
| 14 | as well as a per-workflow-step variable which takes precedence when it exists. |
| 15 | |
| 16 | The groups do not need to have any special permissions defined. Group resolution is done recursively (to a hardcoded depth of 5). |
| 17 | |
| 18 | |
| 19 | == Bugs/Feature Requests == |
| 20 | |
| 21 | Existing bugs and feature requests for GroupingAssignToPlugin are |
| 22 | [report:9?COMPONENT=GroupingAssignToPlugin here]. |
| 23 | |
| 24 | If you have any issues, create a |
| 25 | [http://trac-hacks.org/newticket?component=GroupingAssignToPlugin&owner=bof new ticket]. |
| 26 | |
| 27 | == Download == |
| 28 | |
| 29 | Download the zipped source from [download:groupingassigntoplugin here]. |
| 30 | |
| 31 | == Source == |
| 32 | |
| 33 | You can check out GroupingAssignToPlugin from [http://trac-hacks.org/svn/groupingassigntoplugin here] using Subversion, or [source:groupingassigntoplugin browse the source] with Trac. |
| 34 | |
| 35 | == Example == |
| 36 | |
| 37 | Assuming permission groups '''Owner_All''', '''Owner_Developer''', |
| 38 | and '''Owner_Developer_Management''', and an already existing workflow step '''submit-to-development''', the following configuration will |
| 39 | * by default, put all users of group ''Owner_All'' into the assign-to box |
| 40 | * for the special workflow step, put there the users from either group |
| 41 | ''Owner_Developer'' or ''Owner_Developer_Manager''. |
| 42 | |
| 43 | {{{ |
| 44 | [groupingassignto] |
| 45 | owner_group = Owner_All |
| 46 | |
| 47 | [ticket-workflow] |
| 48 | ... |
| 49 | submit-to-development.owner_group = Owner_Developer | Owner_Developer_Manager |
| 50 | }}} |
| 51 | |
| 52 | == Recent Changes == |
| 53 | |
| 54 | [[ChangeLog(groupingassigntoplugin, 3)]] |
| 55 | |
| 56 | == Author/Contributors == |
| 57 | |
| 58 | '''Author:''' [wiki:bof] [[BR]] |
| 59 | '''Maintainer:''' [wiki:bof] [[BR]] |
| 60 | '''Contributors:''' |