-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
Steps to reproduce:
- custom Identity Provider is implemented (storing user-groups membeship)
- user1 is in group1
- process1 has camunda:candidateStarterGroups="group1"
- I query for process definition with startebleBy=user1
Expected result:
process1 is returned
Current result:
process1 is not returned
Hint:
when executing the query we directly join with ACT_ID_MEMBERSHIP DB table instead of taking user-group membership from identity provider. See this line.
Reported on forum: https://forum.camunda.org/t/startableby-issue-when-canidate-starter-groups-is-set/8549
and https://forum.camunda.org/t/ability-to-query-for-all-process-def-that-current-user-can-start-based-on-startable-groups-prop-on-process-def/11779