cancel
Showing results for 
Search instead for 
Did you mean: 

User authorization to start processes based on their groups

hamotahari
Champ in-the-making
Champ in-the-making
Hi,
There is
ProcessDefinitionQuery.startableByUser(String userId)
to check if a special user is in the list of a process candidate start users.
How is it possible to check for candidate start groups?
I seek for somthing like:
ProcessDefinitionQuery.startableByGroups(Set<String> userGroups)
In fact I want to get the list of processes which the user can start them based on his/her membership in their candiate start groups.

Thanks a lot,
HM
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

That's already how the startableByUser method works.
It also checks the groups the user is in and validates that against the candidate groups defined in the process authorization.

Best regards,

hamotahari
Champ in-the-making
Champ in-the-making
Thanks a lot.
But what if we use a customized identity manager? For example if we use LDAP users and groups?



jbarrez
Star Contributor
Star Contributor
If the manager for users/groups is correctly plugged, the candidate groups should come from LDAP.