Add a role to a page dinamically.

Hi all. Is there a way to change the roles assigned to a specific page dynamically? For example: add a new role dynamically and assign it to a specific page.
1 answers


Roles on pages can’t be set dynamically, these are assigned designtime and not runtime.

If you need to restrict data on a page for a user based on a role this can be setup dynamically with the use of entity access and xpath constraints on the entities. Not sure if this is what you are actually looking for though.