Sub topic 9
Organizing field access with permission set groups
This chapter assumes you can create a permission set and set field Read and Edit access in Setup. It also assumes you know that profiles and permission sets both carry field-level security (FLS). Here you learn how to bundle permission sets so field access stays manageable as your org grows.
Why group permission sets
A single permission set that grants one field is easy to reason about. Real jobs need many fields, objects, and system permissions. Assigning ten separate permission sets to every sales rep is slow and easy to get wrong.
A permission set group is a container that bundles several permission sets. You assign the group to a user, and the user receives the combined access of every permission set inside it.
How access combines
Permission sets only add access. When a user holds several, Salesforce takes the most permissive setting for each field. If one permission set grants Read on Account.Internal_Notes__c and another grants nothing, the user can read the field.
This is true for the group as well. A group combines its permission sets with the user's profile and any other permission sets. Nothing in the group can remove access that another source grants.
Muting permission sets
Sometimes a shared permission set grants more than one role needs. A muting permission set solves this. It lives inside a single group and turns off selected permissions for that group only.
For example, suppose the Account Notes Access permission set grants Edit on Internal_Notes__c. A support group can include it and add a muting permission set that removes Edit. Support users keep Read but lose Edit. Other groups that include Account Notes Access are unaffected.
Muting works only on permissions granted through that group. If a user's profile or another directly assigned permission set also grants Edit, the user keeps it.
Create a group
- In Setup, search for Permission Set Groups and select New Permission Set Group.
- Enter a label and description that name the job function, such as
Sales Rep. - Add the permission sets the role needs.
- Optionally create a muting permission set and add the permissions to mute.
- Assign users to the group.
After you change a group, Salesforce recalculates its combined permissions. The group shows an Updating status until that finishes, and assignments don't take effect until the group is in the Updated state.
Common errors
- Expecting a group to restrict access. A group only combines. To remove access, use a muting permission set or stop granting it elsewhere.
- Muting something the profile grants. The user still has the access. Check the profile too.
- Building one group per user. Groups should match job functions, not individuals.
- Mixing field access into broad permission sets. Keep field permissions in small, named permission sets so you can reuse them across groups.
Exercise
A group contains a permission set that grants Edit on a field. A user in the group also has a different, directly assigned permission set that grants Edit on the same field. You add a muting permission set to the group that removes Edit. Can the user still edit the field?
Show answer
Yes. Muting only removes permissions the group itself grants. The directly assigned permission set still grants Edit, so the user keeps it.