Permissions & Role Hierarchy
Your ability to view and interact with data in the system is governed by a powerful and flexible security model. This model is built on two core concepts: Permissions and the Role Hierarchy. Understanding how they work together is key to understanding what you can see and do.
- Permissions control what actions you can perform (like viewing, creating, or editing).
- The Role Hierarchy controls which records you have access to (like your own records, your team's records, or everyone's records).
Permissions: Controlling Your Actions
Permissions define your fundamental capabilities for each object and field in the system. They are the "verbs" of the security modelโthe actions you are allowed to take.
Object & Field Level Control
Permissions operate on two levels:
-
Object Permissions: These are high-level controls that grant or deny access to an entire object (e.g., 'Account', 'Contact', 'Opportunity'). The four main actions are:
- Create: The ability to create new records of that object type.
- Read: The ability to view records of that object type.
- Update: The ability to modify existing records.
- Delete: The ability to remove records.
-
Field Permissions: For more granular control, administrators can set permissions on individual fields within an object. This allows them to protect sensitive information. The two field-level actions are:
- Read: The ability to see the value in a specific field.
- Update: The ability to change the value in a specific field.
For example, you might have Update permission on the 'Opportunity' object but be denied Update permission on the Amount field, making it read-only for you.
Permission Stacking and Precedence
You can be assigned multiple sets of permissions. When permissions conflict, the system uses a simple rule: the highest level of access wins. If any permission set grants you access to an action, you will have that access, even if another permission set denies it.
This "stacking" allows for flexible security. A base permission set can be applied to all users, with more privileged sets layered on top for specific groups.
In the diagram above, the user gains the ability to update the 'Amount' field because the "Sales Manager Add-on" permission overrides the restriction from the base "Sales Rep" set.
Role Hierarchy: Controlling Data Visibility
While permissions define what you can do, roles define which records you can see. The role hierarchy is typically modeled after your organization's structure, creating a parent-child relationship between roles (e.g., a Sales Manager is the parent role to several Sales Rep roles).
This structure enables data to "roll up," meaning users higher in the hierarchy gain visibility into the records of users below them. Data access is determined by the View Access level set on your role.
Data Access Levels
Your role will have one of the following access levels, which determines the records you can see based on record ownership.
-
Personal: You can only view and edit records that you personally own. You cannot see records owned by your colleagues, even those with the same role.
- Example:
Rep 3can only see their own records.
- Example:
-
Team: You can view and edit records owned by you AND any other user who shares the same role.
- Example:
Rep 1andRep 2can see each other's records because they share the "Sales Mgr A" team.
- Example:
-
Subordinate: You can view and edit records owned by you, your team, AND anyone in roles beneath you in the hierarchy. This is the standard for managers.
- Example:
Sales Mgr Acan see records owned byRep 1andRep 2. TheVP of Salescan see records owned by bothSales Mgr AandSales Mgr Band all their subordinate reps.
- Example:
-
Full: You can see all records for an object, regardless of who owns them. This is typically reserved for administrators or executive roles.
- Example: The
CEOcan see every record in the system.
- Example: The
Putting It All Together
Your final access is a combination of your Permissions and your Role.
Imagine you are Sales Mgr A.
- Your Role grants you
Subordinateaccess, so you can see all Opportunity records owned byRep 1andRep 2. - Your Permissions grant you
Updateaccess on the Opportunity object but deny youDeleteaccess.
The result is that you can view and edit your team's Opportunities, but you cannot delete them. This powerful combination allows for precise and secure control over your organization's data.