๐งฉ How to Set Up Salesforce Profiles and Permission Sets
Overview
Salesforce uses Profiles and Permission Sets to control user access to data, objects, and features. Understanding how to configure and apply these tools is essential for enforcing security and ensuring users have the right level of access.
This guide will walk you through setting up Profiles and Permission Sets in Salesforce.
๐ Key Concepts
Term | Definition |
---|---|
Profile | A collection of settings and permissions that define what a user can do. |
Permission Set | A group of permissions that can be assigned to users on top of their profile. |
Object Permissions | Create, Read, Edit, Delete rights for standard and custom objects. |
Field Permissions | View and Edit access for individual fields within an object. |
๐ ๏ธ How to Set Up a Profile
๐น Step 1: Clone a Standard Profile
Salesforce standard profiles (e.g., Standard User, System Admin) cannot be modified directly. Always start by cloning.
- Go to Setup โ Profiles.
- Click the name of a standard profile (e.g., Standard User).
- Click Clone.
- Name your new profile (e.g., Sales Team Profile).
- Save.
๐น Step 2: Configure Profile Settings
Within the profile:
- Object Settings: Set object-level CRUD (Create, Read, Update, Delete) permissions.
- Field-Level Security: Choose which fields are visible or editable.
- Tab Settings: Set tab visibility (Default On, Default Off, Hidden).
- App Access: Specify which apps the profile can use.
- Record Types: Assign which record types are available.
- Login Hours/IP Ranges: Restrict when and where users can log in.
๐น Step 3: Assign the Profile to Users
- Go to Setup โ Users.
- Edit a user record.
- Choose your custom profile from the Profile dropdown.
- Save.
๐งฉ How to Create and Assign Permission Sets
Permission Sets provide flexibility by allowing additional permissions without changing the profile.
๐น Step 1: Create a Permission Set
- Go to Setup โ Permission Sets.
- Click New.
- Enter:
- Label: (e.g., Marketing Dashboard Access)
- License: Choose the user license if needed.
- Click Save.
๐น Step 2: Configure Permissions
In the Permission Set menu, you can configure:
- Object Settings: Additional access to standard/custom objects.
- Field Permissions: Field-level visibility and editability.
- System Permissions: Apex access, report creation, etc.
- App Permissions: Access to specific Salesforce apps.
- Custom Permissions: Access to custom-coded functionality.
๐น Step 3: Assign Users to the Permission Set
- In the Permission Set, click Manage Assignments.
- Click Add Assignments.
- Select users and click Assign.
๐ When to Use Profiles vs. Permission Sets
Use Profiles When… | Use Permission Sets When… |
---|---|
Setting base-level access for a user role | Granting exceptions or additional access |
Assigning login hours or IP restrictions | Providing temporary access to a feature or object |
Creating a new role type | Sharing permissions across multiple roles flexibly |
โ Best Practices
- Clone, Donโt Create From Scratch: Use existing profiles as templates.
- Use Permission Sets for Flexibility: Avoid creating excessive custom profiles.
- Bundle Permissions: Group related permissions (e.g., reporting, dashboard access).
- Review Regularly: Audit user access quarterly or during role changes.
- Use Permission Set Groups: To manage collections of permission sets efficiently.
๐ Summary
Profiles define the foundation of a userโs access in Salesforce, while Permission Sets offer a flexible way to grant additional permissions. Together, they form a powerful access control model that allows for both consistency and adaptability.