Role Request Policies
Definition
A Role Request Policy allows to define if a Role can be requested, for whom, by whom, and using which Workflow.
The configuration of a Role Request Policy is divided into 3 parts:
Classic properties of a configuration of a XML (version, encoding, kit DataSet...)
The Request Strategy that defines who can request an operation on the Role and for whom
The Workflow Strategies that define which:
Workflows to launch to validate the Role request (only one Workflow Strategy by type of Role operation)
Dimensions can be displayed
Dimensions can be updated
Configuration
You can access the Role Request Policy configuration :
by clicking on "Portal" → “Role Request Policy”
by clicking on "System" → "Configurations" → "Business Model" and perform an import/export.
Properties
Properties name | Type | Mandatory | Description | Modifiable after creation |
---|---|---|---|---|
id |
| YES | The id is the unique identifier of the Role Request Policy. It is case sensitive and no special characters (except - or _) are allowed. | NO |
name |
| YES | The Role Request Policy name. The name may be different from the identifier.Must be at least 4 characters long. | YES |
description |
| NO | Allows to describe the Role Request Policy. It is possible to modify this property after the creation of the Role Request Policy. | YES |
priority |
| NO | Used to indicate the priority between several configured Role Request Policies on the same Role Publication type Id. | YES |
rolePublicationTypeId |
| YES | Used to indicate the id of the Role Publication Type which refers to the Policy. | YES |
| YES | Used to indicate the Request Strategy. | YES | |
| YES | Used to indicate the Workflow Strategy used for :
| YES |
Request Strategy Properties
Organizational Role Request Strategy
This request strategy is based on a managing right granted to a user on an Organization, giving the ability to request roles for Identities that are in the security Organization.
The following prerequisites are mandatory before configuring this request strategy:
Have configured a Right
Have configured an Attribute of type String and with a configured Choice Rule on a Role and/or Publication type.
Property name | Type | Mandatory | Description | Values (default value in bold) | Code |
---|---|---|---|---|---|
authorizationSource |
| YES | Indicates where to find the Attribute describing which managing right is expected from the requester. | PUBLICATION, ROLE or POLICY | Source PUBLICATION
XML
Source ROLE
XML
Source POLICY
XML
|
managingRightAttribute |
| YES , only if source is PUBLICATION or ROLE | Indicates the id of the Attribute (type String and with a configured Choice Rule) that contains the managing right that is expected from the requester. This Attribute must be configured on the Publication or the Role features. | - | |
managingRightName |
| YES , only if POLICY | Indicates the right to be used as the managing right that is expected from the requester. | - | |
allowSelfRequest |
| YES | Indicates whatever or not this strategy allows the requester to request a Role for himself if he/she matches the strategy criteria. | true, false |
Object Relation Role Request Strategy
This request strategy is based on a managing right granted to a user on a Role or an object attribute linked to the Role, giving the ability to request roles for Identities.
The following prerequisite are mandatory before configuring this request strategy:
Have configured a Right
Have configured an Attribute of type String and with a configured Choice Rule on a Role and/or Publication type if the authorization source is PUBLICATION or ROLE.
Have configured an Attribute of type Object Reference on a Role Type
Property name | Type | Mandatory | Description | Values (default value in bold) | Code |
---|---|---|---|---|---|
authorizationSource |
| YES | Indicates where to find the Attribute describing which managing right is expected from the requester. | PUBLICATION, ROLE or POLICY | Source PUBLICATION
XML
Source ROLE
XML
Source POLICY
XML
|
managingRightAttribute |
| YES , only if source is PUBLICATION or ROLE | Indicates the id of the Attribute (type String and with a configured Choice Rule) that contains the managing right that is expected from the requester. This Attribute must be configured on the Publication or the Role features. | - | |
managingRightName |
| YES , only if POLICY | Indicates the right to be used as the managing right that is expected from the requester. | - | |
objectAttribute |
| NO | Indicates the id of the Attribute of the Object on which the requester is expected to have a right. This Attribute is configured on the Role. If the property is not valued, the right must be given to the requester on the Role itself. | - | |
allowSelfRequest |
| YES | Indicates whatever or not this strategy allows the requester to request a Role for himself if he/she matches the strategy criteria. | true, false |
Self Service Role Request Strategy
This request strategy is based on a boolean Attribute which authorize or not the self-request of a Role.
The following prerequisite are mandatory before configuring this request strategy:
Have configured an Attribute of type Boolean on a Role and/or Publication Type if the authorization source is PUBLICATION or ROLE.
Have configured a self feature with the Role Assignment Widget.
Property name | Type | Mandatory | Description | Values (default value in bold) | Code |
---|---|---|---|---|---|
authorizationSource |
| YES | Indicates where to find the Attribute describing whether self-requests are available to the requester. When set to PUBLICATION or ROLE, the Attribute is set on the Publication and Role respectively. When set to POLICY, all Roles published are automatically available for self-requests (provided that these Roles are attached to the Role Publication Type that is configured in the Role Request Policy). | PUBLICATION, ROLE or POLICY | Source PUBLICATION
XML
Source ROLE
XML
Source POLICY
XML
|
selfRequestAttribute |
| YES , if source is set to PUBLICATION or ROLE | Indicates the id of the boolean Attribute which indicates wherever or not the Role can be requested by the requester himself. This Attribute must be configured on the Publication or the Role features. If the Attribute value is set to true, the self-request is available, otherwise it is not. |
Workflow Strategy Properties
This part describes what type of Workflow strategies are used to launch a Workflow after the assignment, modification or deletion request of a Role on an Identity.
There are four Workflow Strategies that apply to the assignment, modification or deletion of a Role Assignment.
It is possible to choose different Workflow Strategies for each actions.
None Role Workflow Strategy
This Workflow strategy allows to assign, update and/or delete a Role Assignment on an Identity without launching a Workflow.
The action will be directly applied to the Identity.
Property name | Type | Mandatory | Description | Code |
---|---|---|---|---|
- | NO | Allows to indicate the tag(s) of the dimensions that will be displayed. If no tag is defined, by default all the tagged dimensions will be displayed in the Role dashboard. | Assignment
XML
Modification
XML
Deletion
XML
| |
- | NO | Allows to indicate the tag(s) of the dimensions that will be editable. |
Fixed Role Workflow Strategy
This Workflow strategy allows to indicate an id of Worfklow(s) (previously configured) that will be launched for the assignment, the modification or the deletion of a Role on an Identity.
Property name | Type | Mandatory | Description | Code |
---|---|---|---|---|
workflowId |
| YES | Indicates id of the Workflow that will be launched when assigning, updating or deleting a Role on an Identity. The Workflow may be different when assigning, updating or deleting a Role on an Identity. | Assignment
XML
Modification
XML
Deletion
XML
|
- | NO | Allows to indicate the tag(s) of the dimensions that will be displayed. If no tag is defined, by default all the tagged dimensions will be displayed in the Role dashboard. | ||
- | NO | Allows to indicate the tag(s) of the dimensions that will be editable. |
Script Role Workflow Strategy
This Workflow strategy allows to configure a Groovy script which describes which Workflow(s) (previously configured) will be launched for the assignment, the modification or the deletion of a Role on an Identity.
Property name | Type | Mandatory | Description | Code |
---|---|---|---|---|
- | NO | Allows to indicate the tag(s) of the dimensions that will be displayed. If no tag is defined, by default all the tagged dimensions will be displayed in the Role dashboard. | Assignment
XML
Modification
XML
Deletion
XML
| |
- | NO | Allows to indicate the tag(s) of the dimensions that will be editable. | ||
ruleDefinition |
| YES | This script returns the workflow id that will be launched when assigning, updating or deleting a Role on an Identity. The Workflow may be different when assigning, updating or deleting a Role on an Identity. This script is executed at the same time as the evaluation of the Role Request Policies, but the Role Request Policies are evaluated in multiple situations in which the ROLE_ASSIGNMENT Context is not relevant or unnecessary (the build of the dimensions screen, the search of an object reference...). For this reason, the ROLE_ASSIGNMENT Context may be null and its presence should always be checked before use. |
Available context
ROLE_REQUEST
ROLE_ASSIGNMENT
ROLE_ASSIGNMENT?.changes?.enabledUntil?.value
The script returning the workflow id is executed at the same time as the evaluation of the RoleRequest Policies, but the RoleRequest Policies are evaluated in multiple situations in which the ROLE_ASSIGNMENT Context is not relevant or unnecessary (the build of the dimensions screen, the search of an object reference...)
For this reason, the ROLE_ASSIGNMENT Context may be null in scripts and its presence should always be checked before use.
Mapped Role Workflow Strategy
This Workflow strategy allows to map the value of an Attribute of either the Requester, Requestee, Role or Publication to a specific Worfklow(s) (previously configured) that will be launched for the assignment, the modification or the deletion of a Role on an Identity.
Property name | Type | Mandatory | Description | Code |
---|---|---|---|---|
- | NO | Allows to indicate the tag(s) of the dimensions that will be displayed. If no tag is defined, by default all the tagged dimensions will be displayed in the Role dashboard. | Assignment
XML
Modification
XML
Deletion
XML
| |
- | NO | Allows to indicate the tag(s) of the dimensions that will be editable. | ||
rolePublicationType |
| YES | Used to indicate the id of the Role Publication Type which refers to the Policy. | |
mappingKeySource |
| YES | Used to indicate where to find the Attribute that will be used to map Workflow(s). | |
mappingKeyAttribute |
| YES | Used to indicate the id of the Attribute which is used to perform the mapping. This Attribute must be configured on the Identity, Publication or the Role features. | |
- | NO | Used to indicate the mapping between attribute values and worfklow. | ||
defaultWorkflowId |
| NO | Used to indicate the id of default Workflow that will be launched if no mapping matches. The default Workflow may not be valued. |
readOnlyDimensionTags or readWriteDimensionTags properties
Property name | Type | Mandatory | Description |
---|---|---|---|
tag |
| NO | Id of the configured tag in the dimension. |
mapping properties
Property name | Type | Mandatory | Description |
---|---|---|---|
| NO | Id of the configured tag in the dimension. |
entry properties
Each entry will have the following configuration:
Property name | Type | Mandatory | Description |
---|---|---|---|
key |
| YES | Used to indicate the value of the Attribute used to perform the mapping. |
value |
| YES | Used to indicate the id of Workflow that will be launched if the mapping matches. |