I developed a very simple workflow which has 2 actors, I set one of these actors as initiator, every actor is mapped to a single user for simplicity.
But when I run the process from bonita studio. I can execute the first action with every user, I was expecting an error like 401 Denied, how can I fix this?
By default, the administrator profile is bound to the member role of the organization (which all users have).
Removing the administrator profile should trigger a proper 403 error when the user does not belong to the initiator actor.
UPDATE: It looks like the runtime does not check if a user belongs to the initiator actor when start a process instance. The Bonita User Application only filters by initiators in the Process page. I personally don’t like it and will report a bug in our internal tracker. Feel free to do the same here
Hi. I tried the solution suggested, removing the mapping of administrator profile from all users except one (in my case the mapping was for each user by default), but when I try to start a process from the button, it starts normally even if the user is not the iniator actor . Is there any other step to take in order to achieve the goal? I also verified that the user is not administrator, since I cannot see the administrator app from the app list.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.