Preparing single delegations
Single delegations temporarily assign responsibilities for a specific role or memberships in a specific business or application role to any employee. This employee may subdelegate responsibility or membership as needed.
To run single delegation in One Identity Manager
-
In the Designer, set the QER | ITShop | Delegation configuration parameter.
If you disable the configuration parameter at a later date, model components and scripts that are not longer required, are disabled. SQL procedures and triggers are still carried out. For more information about the behavior of preprocessor relevant configuration parameters and conditional compiling, see the One Identity Manager Configuration Guide.
The following objects in the default installation can be delegated.
-
Responsibilities for:
-
Membership in:
-
Business roles
-
Application roles
TIP: Specify the role classes associated to business roles for which memberships can be delegated. This option is available when the Business Roles Module is installed.
To permit single delegation of a role class
-
In the Manager, select the Business roles > Basic configuration data > Role classes category.
-
Select the role class in the result list.
-
Select the Change main data task.
-
Set Delegable.
- Save the changes.
Use the Web Portal to delegate roles or responsibilities. For more information, see the One Identity Manager Web Portal User Guide and the One Identity Manager Business Roles Administration Guide.
Related topics
Allowing delegation approvals
Delegations are automatically approved after a compliance check. If delegations are going to be approved by an approver, assign a suitable approval policy to the default service item. This means that delegation also go through the defined approval process.
To approve deputization by an approver
-
In the Manager, select the IT Shop > Service catalog > Predefined category.
-
In the result list, select the Deputy (temporary) service item then select the Change main data task.
-
In the Approval policy field, select an approval policy.
- Save the changes.
To approve single delegation by an approver
-
In the Manager, select the IT Shop > Service catalog > Predefined category.
-
In the result list, select the Delegation service item and select the Change main data task.
-
In the Approval policy field, select an approval policy.
- Save the changes.
Related topics
Creating IT Shop requests from existing user accounts, assignments, and role memberships
You can create One Identity Manager requests for existing user accounts, membership in system entitlements, assignments to employees, and hierarchical roles when IT Shop goes into operation. One Identity Manager provides several methods to implement this. Using these methods, requests are created that are completed and approved. These requests can therefore be canceled at a later date. In addition to the initial request data, you can run a custom script from each method that sets other custom properties for a request.
Table 23: Methods for transforming direct assignments into requests
CreateITShopOrder (string CustomScriptName) |
Creates a request from a direct assignment. This method can be applied to all tables used to find a UID_Person. |
CreateITShopOrder (string uidOrgProduct, string uidPersonOrdered, string CustomScriptName) |
Creates an assignment request from an assignment or membership. This method can be applied to all tables that cannot be used to find a UID_Person. |
CreateITShopOrder (string uidOrgProduct, string uidWorkdeskOrdered, string uidPersonOrdered, string CustomScriptName) |
Creates an assignment request from an assignment or membership and, in addition, saves a UID_WorkdeskOrdered with the request procedure. |
CreateITShopWorkdeskOrder (string uidPerson, string CustomScriptName) |
Creates a request for a workdesk from a direct assignment. This method can be applied to the WorkDeskHasApp, WorkDeskHasESet and WorkDeskHasDriver tables. |
To run the methods
-
Create a script in the Designer with the Script Editor to call the desired method.
You can find an example script for calling a Customizer method in VB syntax on the One Identity Manager installation medium in the Modules\QBM\AddOn\SDK\ScriptSamples\03 Using database objects\11 Call database object methods.vb directory. You can use this example script as a template to create a script for call the methods described here.
-
Run the script.
You can use the script test from the Script Editor to do this.
For more information about creating scripts, see the One Identity Manager Configuration Guide.
If a custom script is included in the method call, then this script will be run immediately before the request is saved in the database.
An example of a custom script
Public Sub CCC_AddCustomPropToRequest(ByRef dbSource As IEntity, ByRef dbPWO As IEntity)
'Populate values in PWO:
dbPWO.PutValue("OrderReason", "Group membership assignment converted to IT Shop request automatically.")
End Sub
- dbSource: Refers to the source object. For example, ADSAccountInADSGroup, if memberships in Active Directory groups are to be converted in requests.
- dbPWO: Refers to the request to be generated.
Creating requests for employees
You can create requests for employees or memberships in system entitlements with CreateITShopOrder (string CustomScriptName). Prepare the IT Shop accordingly in order to create the requests.
To create requests from direct assignments to employees or memberships in system entitlements
-
Prepare the company resources or system entitlements for use in the IT Shop.
-
Assign the company resources or system entitlements to a shelf in the IT Shop.
-
Link each user account for whose memberships requests are to be created with an employee.
-
Add employees as customers to shops to which the company resources or system entitlements are assigned as products.
-
(Optional): Create a script that populates other properties of the requests.
-
Create a script to run CreateITShopOrder (CustomScriptName string) for the affected tables.
One Identity Manager creates requests from direct assignments to employees in the following way:
-
Determine employees and their assigned company resources.
-
Determine shops assigned to company resources and employees.
- Create the requests with initial data.
- Run custom scripts.
- Save the requests (entry in the PersonWantsOrg table).
-
Assign employees to the product structure (entry in PersonInITShopOrg table).
-
Transform direct company resource assignments into indirect assignments to employees (for example, in the PersonHasQERResource table).
One Identity Manager creates requests for memberships in system entitlements in the following way:
-
Establish the user accounts and their memberships.
-
Determine the affected employees.
-
Determine the shops to which employees and the system entitlements are assigned.
- Create the requests with initial data.
- Run custom scripts.
- Save the requests (entry in the PersonWantsOrg table).
-
Assign employees to the product structure (entry in PersonInITShopOrg table).
-
Transform direct company memberships into indirect memberships for affected user accounts (for example, in the ADSAccountInADSGroup table).
Related topics