cancel
Showing results for 
Search instead for 
Did you mean: 

Profile-based workflows

jservajean
Confirmed Champ
Confirmed Champ
Hi,

Is it possible to limit the starting (and showing) of a specific workflow based on the user's permissions ?
ie.: I wan't to prevent people outside from a specific group to start and/or list a custom activiti workflow
2 REPLIES 2

scouil
Star Contributor
Star Contributor
Hi,

The quick way would be to extend start-workflow.get.js to include your change.
It would hide your modification in share from the dropdown.

The clean way would be to add an interceptor on the WorkflowService.
Intercept the result of the methods you need. At the very least "getDefinitions()". Possibly others too.

jservajean
Confirmed Champ
Confirmed Champ
Thanks, I wasn't aware of the second approach. I'll try this out.