Keycloak Permissions
When using Keycloak, it is sometimes necessary to set permissions in Keycloak for users in BPC.
Only the permissions for role-based authorization (RBA) are listed here. It is also possible to implement this using permissions.
Only one of the listed roles must be assigned at a time. In exceptional cases where multiple roles are required, they are grouped in parentheses.
|
As an alternative to the roles mentioned, you can always assign the roles |
General BPC Functions
| Function | Roles | Description |
|---|---|---|
Saving the user’s language in the Keycloak profile |
|
Required to store the language selected by the user in BPC as the language in the user’s Keycloak profile.
This role is often already assigned to every user via |
List organizations |
|
Retrieves the list of available organizations. This is used to provide a selection in the interface when assigning users to organizations. If the user lacks the necessary permission, they must enter the organizations themselves. |
List roles |
|
Retrieves the list of available roles. This is used to provide a selection in the user interface when assigning roles. If the user lacks the necessary permission, they must enter the roles manually. Note: Depending on whether the roles are Realm or Client roles, multiple roles may be required. Only the client roles of the Keycloak client used in the BPC are listed. |
List permissions |
- |
Not supported. |
Integrated User Management
The following table summarizes the required roles.
| Access Type | Roles |
|---|---|
Read-only access |
|
Administrative management |
|
The following Keycloak permissions are required for the individual functions of integrated identity management.
| Function | Roles |
|---|---|
User Management |
|
|
|
( |
|
|
|
|
|
|
|
( |
|
|
|
( |
|
Organization management |
|
|
|
|
|
|
|
|
|
( |
|
|
|
|
|
Role management |
|
( |
|
For realm roles: For client roles: |
|
( |
|
The base role and the assigned role are client and realm roles:
( Both roles are realm roles:
Both roles are client roles:
|
|
( |
|
( |
|
In the Keycloak backend connection settings, you can use the identityProvider_keycloak_addRolesToRealm Parameter to configure whether a new role is created as a realm role, client realm role, or client role.
Depending on whether the role already exists and whether it is created as a realm role or a client role, different Keycloak roles mentioned above are required.
Only client roles from the Keycloak client used in BPC can be assigned.