X4 Produktdokumentation

<Access Rights>

The <AccessRights> element contains configuration definitions that control access to individual components or modules of a Web App. The access can be controlled using roles that are configured in the identity provider you are using.

Element

Description

accessRights

Enclosing element for controlling access rights to individual components of a Web App via roles.

The element contains the following elements:

  • AccessRight

AccessRight

The element contains the following elements:

  • Name

  • Roles

Name

Freely definable name of the role in X4 BPMS.

Possible values:

Any string (no umlauts or special characters)

Roles

Enclosing element for the name of the role.

The element contains the following elements:

  • Role

Role

The element contains the following elements:

  • roleName

roleName

Name of the role

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

Example:

<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>