Hi,
I have removed access to a certain entity (e.g., Team) for a specific user role via the Roles settings, which works as expected on the UI.
However, I need to allow access to this entity within a Flowchart (BPM process) or within PHP logic (e.g., in a hook or service class), regardless of the user's role permissions.
Is there a way to:
In Flowchart, I've noticed the "Run as system user" option — does it allow bypassing these restrictions?
Any recommended approach or best practice would be appreciated.
Thanks!
I have removed access to a certain entity (e.g., Team) for a specific user role via the Roles settings, which works as expected on the UI.
However, I need to allow access to this entity within a Flowchart (BPM process) or within PHP logic (e.g., in a hook or service class), regardless of the user's role permissions.
Is there a way to:
- Allow entity access within a Flowchart even if the user's role restricts it?
- Programmatically bypass permission checks in PHP code for specific backend logic?
In Flowchart, I've noticed the "Run as system user" option — does it allow bypassing these restrictions?
Any recommended approach or best practice would be appreciated.
Thanks!
Comment