Sub topic 13
The Minimum Access Profile and a Permission-Set-Led Model
This chapter assumes you can use Setup, you know how profiles, permission sets, and permission set groups combine, and you understand the difference between object permissions and record sharing. It shows how to stop treating the profile as the main place where access is granted.
Why move access out of profiles
Each user has exactly one profile. If access lives there, you need a new profile for every combination of job functions. A sales rep who also approves discounts needs a "Sales Rep Plus" profile. Soon you have dozens of near-duplicate profiles, and a change such as "everyone in sales can now read Contracts" must be repeated in each one.
Permission sets are additive and a user can hold many of them. If the profile grants almost nothing, each permission set describes one capability, and a permission set group combines capabilities into a job function. A change is made once and reaches every user who holds it.
What the Minimum Access profile is
The Minimum Access - Salesforce profile is a standard profile for users with a Salesforce license. It lets a user log in and see basic information such as their own user record. It does not grant access to standard objects such as Accounts or Contacts, or to custom objects. Every other permission comes from permission sets or groups.
Two related facts:
- The profile is tied to the Salesforce user license. Other licenses have their own baseline profiles.
- A separate profile, Minimum Access - API Only Integrations, is meant for integration users. Do not use it for people.
If you need a baseline that differs from the standard one, clone a profile and strip it down. Prefer the standard profile where you can, because it stays consistent across orgs.
The layers of the model
Think of three layers:
- Baseline. The Minimum Access profile for everyone.
- Job function. One permission set group per role, such as Sales Representative or Support Agent.
- Exceptions. Individual permission sets for one-off needs, assigned directly to a user.
What still lives on the profile
Not every setting can move. Before you migrate, check what the profile still owns.
| Setting | Where it lives |
|---|---|
| Object and field permissions | Profile or permission set |
| System permissions (for example, Export Reports) | Profile or permission set |
| Custom permissions | Profile or permission set |
| Login hours and login IP ranges | Profile only |
| Default record type and default app | Profile (some app and record type visibility can be granted by permission sets) |
| Page layout assignment | Profile |
Login restrictions and the default app or record type are the main reasons users still need a sensible profile. Plan these settings per user population, not per job function. If two groups need different login hours, they need different profiles. In that case you may keep a small number of profiles that differ only in these settings, and all of them stay minimal on permissions.
Building the model step by step
- List capabilities, not people. Write "read Accounts" or "edit Opportunities," not "what Dana can do."
- Create one permission set per capability. Give each a clear name. Keep object, field, and system permissions that belong together in the same set.
- Bundle sets into groups by job function. Use the group's Permission Sets list, and add a muting permission set only where a group needs a permission removed.
- Assign the baseline. Put users on Minimum Access - Salesforce.
- Assign groups. Give each user the group for their job and extra permission sets only for real exceptions.
- Check status. Make sure each group shows Updated before you rely on it.
The group from the earlier chapters looks like this as metadata:
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Sales Representative</label>
<description>Everything a sales rep needs</description>
<permissionSets>Account_Viewer</permissionSets>
<permissionSets>Opportunity_Editor</permissionSets>
</PermissionSetGroup>A user with this group on top of Minimum Access can read Accounts and edit Opportunities, and nothing else.
Finding users to migrate
To migrate an existing org, start by counting how many active users sit on each profile:
SELECT Profile.Name, COUNT(Id) total
FROM User
WHERE IsActive = true
GROUP BY Profile.Name
ORDER BY COUNT(Id) DESCRun this in Developer Console or Workbench. The biggest profiles are your first candidates. For each one, list its object, field, and system permissions, then recreate them as permission sets. Test with a small pilot group before you change everyone.
Changing a user's profile to Minimum Access removes everything the old profile granted. Assign the new groups first, confirm they show Updated, then switch the profile. Do the switch in a sandbox first.
Common errors
- Users lose access after the profile switch. The permission sets did not cover everything the old profile granted. Compare the two sets of permissions, including system permissions and tab or app visibility, which are easy to forget.
- A group is assigned before it is ready. While a group is Updating, its users may not yet have the new access. Wait for Updated.
- "Minimum Access" is treated as "no access to anything." Users can still log in and reach their own record, and some features that depend on basic permissions may still work. Test, don't assume.
- Sharing is forgotten. Object permissions let a user work with a type of record, but sharing decides which records. A user with Read on Accounts and a private org-wide default still sees only the accounts they own or are shared. Fix this with roles and sharing rules, not with more permission sets.
- Muting is used as the main design tool. A muting permission set only affects the group that contains it. If you mute often, your permission sets are probably too broad. Split them instead.
- One giant "everything" permission set. This recreates a profile with a different name and loses the point of the model.
Trade-offs
A permission-set-led model costs more design effort up front, and it needs naming conventions and documentation so admins can find the right set. In return, access changes are small and local, audits are easier because each set has one purpose, and you avoid a growing pile of profiles. For a small org with one or two roles, a couple of profiles can be simpler. Choose the model by how often access changes and how many distinct roles you have.
Exercise
A user is on Minimum Access - Salesforce and holds the Sales Representative permission set group, which shows status Updated. They can open the Accounts tab but see only a few accounts. Is this a permission problem, and where do you look first?
Show answer
It is probably not a permission problem. The user already has object access, since they can open the Accounts tab. The limited list points to record sharing: check the org-wide default for Account, the user's role, sharing rules, and account ownership. Adding more permissions does not widen record visibility unless you grant View All or Modify All, which is rarely appropriate.