Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (2024)

Profiles, roles and permission sets work together to determine what Salesforce users can see and do inside Salesforce. I remember security & access was one of the toughest topics on the Salesforce Admin certification exam. There is no way around these concepts, as they are foundational to how Salesforce records are visible and editable. So, what are the differences between Salesforce Roles and Profiles?

While I was attempting to wrap my head around the differences between Salesforce roles and profiles, there was a simple mantra that I said to myself over and over again, and then took into the exam with me: “Roles see, profiles do”.

That is an oversimplification but it is the best way to start learning about profiles vs. roles in Salesforce. In this post, I will dive into the differences between the two concepts. Come with me as I take you on a journey into how Salesforce permissions work.

What is a Salesforce Profile?

Profiles control what users can do in your Salesforce org. This can be referred to as CRED:

  • C = create
  • R = read
  • E = edit
  • D = delete

You may want some users in your org to read and edit Leads, but not delete them. CRED enables you to mix and match what a specific user can do with each object.

See how this looks on a profile’s settings (found under the ‘Object Permissions’ section):

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (2)

In addition to objects, profiles also control:

  • Field-level security (which fields are visible or editable),
  • Page layouts,
  • Record types,
  • Apps,

Each Salesforce user in your org has a profile. Profiles are designed to group users into functions, for example, ‘Sales’, ‘Support’ etc.

The most important profile in the org is ‘System Administrator’. Users in this profile have absolute access to do anything. In addition to CRED, they will have ‘View all’ and ‘Modify all’ selected for each object.

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (3)

They will also have ultimate permissions, namely ‘Modify all data’, ‘Customize application’ that you would not want to give to any other users! (found under the ‘Administrative Permissions’ section).

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (4)

What is a Salesforce Role? – and the Role Hierarchy

Let’s switch to thinking about roles, which control what users can see in your Salesforce org.

Roles are designed to increase data visibility, to open up access to Salesforce records. You will have a baseline visibility set for each object in your org, known as the ‘org wide default’ (organizational wide default, OWD). Examples of this could be:

  • Opportunities are set to ‘Private’, which means that users can only see the opportunities they own.
  • Accounts are set to ‘Public Read/Write’, so that any user can help to update account information.
Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (5)

You should know that there are defaults that are already set. I’m not going to dive into details on OWD right now, but I want you to remember the golden rule…

Golden rule: the ‘org wide default’ should be set to the most restrictive level. Salesforce permissions work by opening up access, not by locking them down. So, start with the strictest in mind.

There are two ways to increase data visibility via roles, essentially superseding (pushing past) the OWD:

  • The Role Hierarchy
  • Sharing Rules

READ MORE: Tips for Planning and Creating Salesforce Sharing Rules

Salesforce Roles and Profiles

There’s some confusion when a Salesforce org is using both profiles and roles. They are designed to be used together – it is not an ‘either/or’ decision.

It may help to think in different shapes. Profiles are like circles, whereas roles are arranged into a hierarchy (when using the Role Hierarchy):

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (7)

Profiles are like circles of users that share the same function, eg. ‘Marketing’, ‘System Admin’, ‘Sales’, ‘Support’. Roles are how users relate to each other in a hierarchy, eg. the ‘VP of Sales’ is above the Sales Managers in the role hierarchy:

Note: Sharing Rules are used to extend the Role Hierarchy, so that you are not restricted to the strict top-down sharing as laid out in the hierarchy – in other words, Sharing Rules can enable you to open up record visibility horizontally across the hierarchy.

What’s the Difference Between a Role and Profile in Salesforce?

ProfileRole
Determines what users can...Do - create, read, edit, deleteSee - record visibility
Required for each user? X - it’s optional
Imagine in the shape of:Circles, grouping users with similar functions. Hierarchy, that splits users with more authority from those with less.
Controls access to:Objects, field-level security (which fields are visible or editable), page layouts, record types, apps, tabs.Records, folders.

What About Permission Sets? (Permission Sets vs. Profiles)

Once you have got to grips with profiles and roles, you have mastered a core Salesforce Admin concept that will serve you well. What about permission sets, then? Not another Salesforce data access concept! Fear not, I will explain the differences between profiles and permission sets quickly, and painlessly.

Permission sets could be considered add-ons for profiles. They offer flexibility in how you add certain permissions (objects, field-level security, page layouts, record types, apps, tabs) to certain users – almost like you are tagging an individual user. In order to grant a very specific ability to a user, you obviously don’t want to create a whole new profile just for that one difference between their abilities and the rest of their team’s!

Let’s take an example:

There is a sales team, who have the profile ‘Sales User’. Only Carole should be able to change the team’s email templates, so the Admin has created a Permission Set called ‘Modify Email Templates’ which she has added to Carole’s user record.

Permission sets are visible from the related list on the user’s record:

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (10)

Permission sets can simply be added and removed, from ‘Available Permission Sets’ to ‘Enabled Permission Sets’ – as shown below:

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (11)

You should also be aware of Permission Set Groups. These were new in the Spring ‘20 release, created to revolutionize how Admins can organize org permissions, allowing Permission Sets to be grouped together and assigned to users.

READ MORE: Introduction to Permission Set Groups in Salesforce

Summary

Profiles, roles, and Permission sets work together to determine what Salesforce users can see and do inside Salesforce. These concepts are foundational to how Salesforce records are visible and editable, and is absolutely essential knowledge in order to become a Salesforce Admin.

Now you know the differences between a Salesforce Role and Profile, plus how Permission sets come into the picture. There’s some confusion when a Salesforce org is using both profiles and roles. They are designed to be used together – it is not an ‘either/or’ decision.

Just remember the simple mantra: “Roles see, profiles do” if you’re ever in doubt.

Learn Salesforce Roles and Profiles in 5 Minutes (Ft. Permission Sets) (2024)

FAQs

What is the best practice for profile vs permission set in Salesforce? ›

Our recommended best practice — and Salesforce's, too — is to keep profiles as simple and restrictive as possible, and use permission sets to manage the nuances of access for different job functions.

What is the difference between roles and permission sets in Salesforce? ›

The easiest way I explain Profiles and Sharings to my junior developers is: Profiles dictates what users can do with object and Sharings is what records user can see. I would add that Permission sets are same as Profiles and roles are same as Sharings but both can be added separately.

What is the relationship between permission sets and profiles in Salesforce? ›

Permission sets could be considered add-ons for profiles. They offer flexibility in how you add certain permissions (objects, field-level security, page layouts, record types, apps, tabs) to certain users – almost like you are tagging an individual user.

Is Salesforce getting rid of profiles? ›

I like to look at profiles in a similar view to change sets: they're still here, and people can still make use of them, but there are much better ways of managing changes now.

Why use permission sets instead of profiles? ›

It allows you to assign permissions temporarily, with an expiration date, and generally makes it much easier to apply the 'principle of least privilege' in how you run your org. I've also found that permission sets are significantly easier to use in development work and when moving between environments.

Do permission sets override profiles in Salesforce? ›

A permission set is a collection of settings and permissions that give users access to various tools and functions. Permission sets extend users' functional access without changing their profiles and are the recommended way to manage your users' permissions.

What is the best practice of role hierarchy in Salesforce? ›

As a best practice, keep the role hierarchy to no more than 10 levels of branches in the hierarchy. When a user's role changes, any relevant sharing rules are evaluated to correct access as necessary. Peers within the same role don't guarantee them access to each other's data.

Can permission sets be assigned to profiles? ›

Users can have only one profile but, depending on the Salesforce edition, they can have multiple permission sets. You can assign permission sets to various types of users, regardless of their profiles.

How many permission sets can you have in Salesforce? ›

You can create 1000 permission sets. This limit depends on the type of salesforce features and editions. The permission set cannot be used to revoke access; it can only grant access.

How many types of Salesforce profiles are there? ›

In Salesforce, there are 2 types of profiles: Standard and Custom. Similarly, for any product in the world, there are usually standard and custom settings.

How many profiles can a user have in Salesforce? ›

Administrators can create a maximum of 1,500 custom profiles per user license type. Note: For Professional Edition, the maximum number of custom profiles they can create is 3.

What can we do with profile but not with permission set in Salesforce? ›

Profiles can be used to give or take away permission from the users assigned to them. Permission Sets can only give or extend permission to the users assigned to them.

Why people leaving Salesforce? ›

Cost. One of the biggest complaints about Salesforce.com is the price of the service. As with most SaaS offerings, subscription is on a per-user basis, and requires a minimum purchase of five licences, and you will be required to upgrade to more expensive versions as your usage extends.

Why is Salesforce not doing well? ›

Shares fell below Salesforce's 50-day moving average. Activist investors in 2022 pressured Salesforce to improve profit margins and avoid dilutive acquisitions. Salesforce in early 2023 disbanded a panel that explored mergers and acquisitions, implying it will make no more big deals.

What is the future of permission sets in Salesforce? ›

Salesforce will be phasing out permissions on profiles, and these changes will be fully implemented in the Spring '26 release. Profiles will continue to exist, but the permissions that are currently assigned to profiles will be phased out and will only be available through permission sets.

What is recommended best practices for setting permissions for users? ›

Permissions best practices
  • Only give users the permissions they need. ...
  • Make more groups than you think you need. ...
  • Give your groups meaningful names and descriptions. ...
  • Consider read-only groups. ...
  • Be judicious with the keys to the castle. ...
  • Remove users regularly. ...
  • Two-factor authentication is best. ...
  • Some permissions are connected.

What is the best practice for permission set groups? ›

  • Create Owner-Based Sharing Rules.
  • Create Criteria-Based Sharing Rules.
  • Create Guest User Sharing Rules.
  • Create Sharing Rules Based on Group Membership.

Which is more restrictive profile or permission set? ›

The difference between Profile and Permission Sets is Profiles are used to restrict from something where Permission Set allows the user to get extra permissions.

Which is a best practice when working with permissions? ›

Best practices for permissions
  • Apply least privilege. Only request necessary permissions. ...
  • Use the correct permission type based on scenarios. Avoid using both application and delegated permissions in the same app. ...
  • Provide terms of service and privacy statements.
Apr 17, 2024

Top Articles
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5826

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.