Condition to allow only the users who are in group(s) and/or project role(s)
To add User In Group And/Or Project Role condition, go to the transition of your workflow, switch to Conditions tab and click on Add Condition button.
Select JEP - Check User In Group/Role Condition and click Add button
Fill the form and click Add button.
- All/Any: Select All if both conditions should match, otherwise select Any to allow transition either group or project role condition matches.
- Groups: The users for selected group(s) will be allowed to execute the transition
- Project roles: The users for selected project role(s) will be allowed to execute the transition
If users have at least one of the project roles selected, they will have access to do the transition so the button will be visible for them.
That's it, the condition is added to the transition. Please do not forget to publish the workflow.