Enable Security at ListItem Level by Enabling Resource Mapping
- Last UpdatedSep 11, 2024
- 2 minute read
Let us understand how to enable security at the ListItem level with a working scenario.
Assume the following exists:
-
Two folders, 'HR List' and 'Finance List' in a workflow list
-
Two workflows, 'Leave Policy' and 'Employee Details' in the 'HRList' folder
-
Three workflows, 'Travel Policy', 'Domestic Policy', and 'International Policy' in the 'Finance List' folder
-
Two users, Daniel and Jim. Both users have administrator rights.
-
'Daniel' belongs to the HR department in the repository
-
'Jim' belongs to the Finance department in the repository
-
The intention is to allow the user 'Daniel' to view only HR related workflows while restricting the user 'Jim' from viewing HR related workflows.
Steps
-
Double-click HR List, and then create the two workflows, 'Leave Policy' and 'Employee Details'.
-
Click Workflow. Open 'Finance List', and then create three workflows, 'Travel Policy', 'Domestic Policy', and 'International Policy'.
-
In the Enterprise Console, click the Menu button, click Settings, and then click Users.
-
Create users, 'Daniel' and 'Jim'. 'Daniel' belongs to the HR department and 'Jim' belongs to the Finance department.
-
By default, these users have Limited Access rights. Map both 'Daniel' and 'Jim' to the Administrator security group.
-
Restrict the user 'Daniel' [HR department] to view only HR related workflows.
Before enabling security at the List Item level, both users are able to view both folders.
The HR department user needs to view only the HR related workflows. Also, map the Finance department user to the limited access security group at this item level so that this user cannot view HR related workflows. -
In the Enterprise Console, click the Menu button, and then click Workflows. The Workflow page appears.
-
Select and right-click the HR List workflow, and then click Security Settings from the context menu. The security settings page appears.
Alternatively, select the 'HR List' workflow, and then click Security from the action bar to customize the security definition. -
Click Advanced Settings tab.
-
Click Enable ListItem Specific Security. The Enable Security Wizard appears.
-
Click Resource Mapping, and then click Next.
-
Click Next. You will be redirected to the Security Group Mapping page.
-
Select the user 'Jim', and then click Edit on the action bar. Alternatively, select and right-click the user 'Jim', and then click Edit from the context menu.
-
Map 'Jim' to the Limited Access security group.
-
Click Save to save the mapping.
-
Log on to the Enterprise Console as 'Daniel' to verify the security configurations. As 'Daniel' belongs to the HR department, only HR related workflows can be viewed. Similarly, you can map roles to the security groups.