Skip to main content
Skip table of contents

<Access Rights>

The element <AccessRights> contains configuration definitions for access to individual components or modules of a Web App. Access can be controlled with the help of Keycloak roles.

Possible Elements

Element

Description

accessRights

Enclosing element for controlling access rights to individual components of a web app via roles in Keycloak.

The element contains the following elements:

  • AccessRight

AccessRight

The element contains the following elements:

  • Name

  • Roles

Name

Freely definable role name in X4 BPMS.

Possible values:

Any character string (no umlauts or special characters)

Roles

Enclosing element for the name of the role in Keycloak.

The element contains the following elements:

  • Role

Role

The element contains the following elements:

  • roleName

roleName

Name of the role in Keycloak

The name must correspond exactly to the name of the role in Keycloak, otherwise it is not possible to match the role in X4 BPMS with the role in Keycloak.

Example:

CODE
<AccessRights>
        <AccessRight>
            <Name>accessUser</Name>
            <Roles>
                <Role>
                    <roleName>user</roleName>
                </Role>
            </Roles>
        </AccessRight>
        <AccessRight>
            <Name>accessAdmin</Name>
            <Roles>
                <Role>
                    <roleName>admin</roleName>
                </Role>
            </Roles>
        </AccessRight>
        <AccessRight>
            <Name>accesUserAdmin</Name>
            <Roles>
                <Role>
                    <roleName>user</roleName>
                </Role>
                <Role>
                    <roleName>admin</roleName>
                </Role>
            </Roles>
        </AccessRight>
    </AccessRights>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.