cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide deployed processes from specific users?

zlatan316
Champ on-the-rise
Champ on-the-rise
Hi,

The 'Deployed Process Definitions' tab in the Explorer current shows all the processes no matter which user is logged on. Is there a way to disable or hide the deployed processes here so that certain users cannot start them?

With Regards,
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

You can change the query in the sources.
(e.g. http://www.activiti.org/userguide/#N13846 for rest end points)

Regards
Martin

b_schnarr
Champ in-the-making
Champ in-the-making
In the process definition, you can set candidate starters (e.g. using the eclipse modeler). Afterwoods, you need to alter the queries in the activity explorer to achieve that the explorer considers those values. Recompile and redeploy the explorer and then, only users mentioned as candidate starter can see the process.

I have located the queries to be inside the /database folder, but which query would I need to amend in order to control which processes each user can Start/see?

Regards

trademak
Star Contributor
Star Contributor
The ProcessDefinitionQuery (available through the RepositoryService) has a startableByUser method. That's probably what you are looking for right?

Best regards,