Directory of organizations, roles, and permissions stored in the BPC Core
If you use an OIDC provider such as Microsoft Azure AD, AWS Cognito, or Keycloak (without an admin client connection) as your IdP, then no directory of roles, permissions, and organizations is available in the BPC frontend. In this case, you can make them available via the IdP mapping of the respective IdP backend Connection.
For JAAS-based IdPs, permissions can be made available in this way.
Configuration Parameter
IdentityProvider_Mappings: This configuration parameter stores the directory of organizations, roles, and permissions.
It can be found in every backend Connection of the type identity_provider.
This configuration parameter is also used for the following functionalities:
Syntax Description
It is a JSON object with 3 basic attributes (organisations, roles, rights).
One level deeper, the corresponding attributes _organisations, _roles, _rights are added.
There, the directory information in the JSON array element ` values ` can then be set to the desired values.
{
"organisations": {
"_organisations": {
"values": ["org1","org2"]
}
},
"roles": {
"_roles": {
"values": ["rolle1","rolle2","rolle3","rolle4"]
}
},
"rights": {
"_rights": {
"values": ["recht1","recht2","recht3"]
}
}
}
Example
The following example illustrates how this works.
The following data should be available for selection in the front end:
Organizations |
|
Roles |
|
Permissions |
|
{
"organisations": {
"_organisations": {
"values": ["Virtimo","Bosch"]
},
"DEFAULT": {
"assignedRoles": [],
"assignedOrganisations": [],
"assignedRights": []
}
},
"roles": {
"_roles": {
"values": ["bpcadmin","bpcuser","manager","viewer"]
},
"bpcuser": {
"assignedRoles": [],
"assignedRights": [
"loadModule_blank",
"loadModule_account",
"loadModule_dashboard"
]
}
},
"rights": {
"_rights": {
"values": ["loadModule_dashboard","loadModule_account","loadModule_blank","loadModule_monitor"]
}
}
}