The role hierarchy automatically grants record access to users above the record owner in the hierarchy. This option is enabled for all objects by default. To change this, we take help of custom objects and manual aces grants.
Defining a Role Hierarchy
In this section, we will discuss how to define a role hierarchy. The steps are described below −
Step 1
To create a Role Hierarchy, we go to the link path Setup Home → Users → Roles → Setup Roles. The default role hierarchy appears as shown below.
The default view is Tree View, which is easiest to use. The other two views are sorted list view and list view. You can change this view as per your need.
Step 2
In the next step, we add a role to the existing hierarchy by filling in the role details. Click on Add Role. The next window appears asking for the following details.
While filling these details, we also take care to define if the users can only view the opportunities or can also edit the opportunities. On clicking save we get the Role created as shown below.
Step 3
In this step, you can assign users to the roles. Click on Assign Users to Role. Upon clicking, you will be directed to a window where you can select All users form the dropdown and move users from the left box to the right box.
In this way, you can create roles within the role hierarchy and add users to them. So the users can have access to the objects and data as per their roles.
No comments:
Post a Comment