Sub topic 17
Designing a maintainable access model
This chapter assumes you know how profiles, permission sets, permission set groups, and muting permission sets work, and the difference between permissions and record sharing. Here you will put them together into a design that stays manageable as your org grows.
The design goal
A maintainable model answers one question quickly: "Why does this person have this access?" Each user should have a small, predictable set of assignments, and each assignment should map to a business reason.
Most access models become hard to maintain for the same reasons. Profiles multiply, one per team or per exception. Permission sets get created for a single user. Names do not say what the set is for. Nobody can tell which sets are still in use.
A layered structure
Use each tool for one job.
| Layer | Tool | Purpose |
|---|---|---|
| Baseline | Minimum Access profile | Grants almost nothing, so access is never given by accident |
| Building blocks | Permission sets | Small, single-purpose grants such as "Account Viewer" |
| Job function | Permission set groups | Bundles of building blocks, such as "Sales Representative" |
| Exceptions | Muting permission sets | Remove a specific permission from one group |
Naming and scope rules
Follow a few rules from the start.
- Name permission sets for what they grant, such as
Account_Viewer, not for who uses them. - Name groups for job functions, such as
Sales_Representative. - Give every set and group a description that states its purpose and owner.
- Keep each permission set to one capability, so it can be reused in several groups.
- Put permissions in a set only when they belong to the same task. A set that mixes unrelated access cannot be reused without over-granting.
Muting versus new sets
Muting is useful when most groups share a set but one group needs less. Muting only affects the group it is in, so the original set stays intact for everyone else. If you find yourself muting many permissions from the same set, split that set into smaller sets instead.
Keep the model small
- Use a profile only for settings that must live there, such as login hours or the default app.
- Assign groups to users, not individual sets, wherever you can.
- Review unassigned permission sets and groups regularly. The assignment query from the auditing chapter makes unused ones easy to find.
- Store sets and groups in source control as metadata, so changes are reviewed and reversible.
Checking your design
Before you add a new permission set, ask three questions.
- Does an existing set or group already grant this?
- Is this a reusable capability, or a one-person exception?
- Which group will include it, and who owns that group?
If you cannot answer the third question, the set is likely to become clutter.
Exercise
A team lead needs everything in the Sales Representative group except the Delete permission on Opportunities. Other sales reps must keep Delete. How do you meet this without creating a new profile or editing the shared permission set?
Show answer
Create a muting permission set that removes Delete on Opportunity. Put it in a new group (for example, Sales Team Lead) that contains the same permission sets as Sales Representative. Assign that group to the lead. The shared permission set is unchanged, so other reps keep Delete.