Access Rights Configuration: Manage Access to Components and Modules
The access to individual components or module in a Web App can be controlled with roles in Keycloak.
Access can be defined in the Web App Configuration .wac
in the Access Right tab in the Access Rights Configuration area.
In the source view, access to the web app via roles is specified in the <AccessRights> element.
How to create the Access Rights
Open the
.wac
file.Go to the tab Access Right.
In the pane Access Rights, click Add.
Enter a name for the new Access Right.
This name is used in the Components and Modules in the
accessRight
attribute.In the pane Roles, click Add.
Enter the name of the role, corresponding exactly to the name of the role in Keycloak.
The name must correspond exactly to the name of the role in Keycloak, otherwise it will not be possible to match the role in X4 BPMS with the role in Keycloak.
You can now use the roles created in the Components and Modules in the accessRight
attribute.