OBLYTECH Logo
OBLYTECH Logo

Salesforce Security Model Layers: Profiles, Permission Sets and Sharing

A Salesforce security model review should treat three layers as separate questions: what a user can open, what they can do with it, and which individual records they can see. Each layer changes for different reasons, so a fix made in the wrong layer tends to create new access problems elsewhere.

Three questions a security model review has to answer

Each access request falls into one of three buckets. The first is whether a person can reach an object or app at all. The second is what they can do once they get there, such as reading, creating, editing or deleting data. The third is which individual records they can see, because two people with identical object rights can still see different rows.

When a fix lands in the wrong layer, the symptom usually moves rather than disappears. Widening record visibility to solve an edit problem, for example, exposes data to people who still cannot make the change they asked for.

Why each layer changes for a different reason

Reachability usually moves when a team takes on a new process, a new app or a new group of users. Action rights move when a role’s responsibilities change, such as when someone starts approving records they previously only entered. Record visibility moves when data ownership changes, such as when an account is reassigned or a region is split.

The separation also changes who approves what. Reachability requests usually come from a process owner, action changes from a line manager, and visibility changes from whoever owns the data. A single rule that tries to cover all three tends to satisfy none of them.

Reachability: what changes when a user can open something

Reachability is the outer boundary. When a user cannot reach an object, changing their edit rights or record sharing will not get them there. Start this part of the review from the list of users and the apps each job needs, not from the list of objects in the org. Starting from objects tends to produce grants that nobody can later justify, because the question was not tied to a person’s job.

Action rights: what changes when a user can act on a record

Action rights are where many of the arguments happen. A user may be able to see a field but should not change it, or may edit a record but should not delete it. Write the verb down for each role. Being able to change a status field and being able to view the records that display it are separate decisions, and a review that records just the object name will miss the difference.

Visibility: what changes when a user can see a record

Record visibility is the finest-grained layer and the easiest to get wrong, because it depends on who owns each record and where that owner sits in the organization. Two sales representatives with the same permissions may see different accounts if they sit in different teams or regions of the sharing structure. Before changing visibility, identify the owner of the data and the group that legitimately needs a view of it.

Mapping a request to the right layer

A request usually resolves into one layer once you ask the right questions in order. The steps below work for a single request and for a batch of them.

  1. Restate the request as a user and a task. A line such as Finance needs to see renewal dates leaves open whether they also need to change them, and that answer decides the layer.
  2. Check whether the person can reach the object at all. If they cannot, the fix belongs in the access layer, and changing visibility or action rights will not help.
  3. Ask what the person needs to do. Separate reading, creating, editing and deleting, and name any field-level exceptions.
  4. Ask which records they need. Check ownership, territory or team membership before granting a wider view.
  5. Write the decision beside the request. Record the layer, the reason and the person who approved it.

Fields that hold sensitive values deserve a second pass before approval. The notes on compliance review of field-level access cover that pass in more detail.

Working through one request from start to finish

Consider a renewals coordinator who asks to see upcoming renewals for two regions and to change the renewal date when a customer asks to move it. The request reads as one ask, but it holds three separate questions, and each one gets its own answer.

Reachability is the first check. In this example the coordinator already reaches renewal records through daily work, so the object-level layer does not change. The visibility question comes next. Two regions means the view has to follow the regional grouping rather than a blanket grant. The action question is narrower than the request sounds. Changing the renewal date is an edit to one field. Changing the amount or the owner is a different decision that the request does not ask for.

The outcome is a narrow change: a visibility scope limited to the two regions, and edit access to that one date field. The data owner approves the visibility change, and the coordinator’s manager approves the edit. Writing that outcome in one line, with both approvers named, makes the next review faster, because the next person can see why the access exists.

Designing a permission model that stays readable

A layered model is only as readable as the names given to its parts. Permission sets built around job functions read more clearly than sets built around individual people, because a function outlasts the person who holds it. For a team that is growing, agree on a naming pattern before the sets multiply. For the grouping approach in more depth, see designing permission sets for a small team.

A review process for changes to the security model

A review that ends in a spreadsheet nobody reads changes very little. The process below ties each finding to a real user and a named owner. Check each persona test against your own instance, because configuration can differ between environments and change over time.

  1. Inventory the current state by layer. List users, their profile and permission assignments, and the records each group works with. Write this down rather than relying on memory.
  2. Test with a persona for each role. Pick one real user per role and check what they reach, what they can change and what they can see. Ask that person to confirm the results rather than checking from an admin view alone.
  3. Trace each gap to a decision. Each gap should trace back to a request or a design choice. Gaps with no decision behind them are the first candidates for removal.
  4. Change one layer at a time. Changing access, action and visibility in one batch makes it hard to tell which change caused a problem.
  5. Retest after each change. Run the same persona checks again and confirm that users who were not meant to be affected still see what they saw before.

When the findings outrun what one team can close in a single cycle, plan the fixes in batches. For help planning this work, see Salesforce implementation.

Common mistakes when the layers overlap

  • Using edit rights to hide data. Removing edit rights does not change what a person can read, so the record stays open to them.
  • Treating a dashboard as a control. Hiding a figure from a report or dashboard does not restrict who can open the record behind it.
  • Naming sets after projects. A set named for a project keeps its name after the project ends. Name sets for the work they allow.

Keeping the layers documented for the next review

The record you keep after a review tends to decide how fast the next one goes. For each role, write down what the user can reach, what actions they can take and which records they see, with the reason and the owner for each line. Revisit it after any reorganization, because access questions that follow a restructure usually repeat the ones the last review answered.

Customer success teams show the visibility question clearly, since their view of shared accounts often differs from what they are allowed to change. For a customer success example of visibility rules, see account health views for customer success managers.

Questions about layering Salesforce access controls

Should a single user’s extra capability go in the profile or a permission set?

Use a permission set for a single user’s extra capability wherever you can, so the baseline that other users share stays as it is. Changing the shared baseline affects everyone who holds it, so that change needs a wider review and a stronger reason.

How do I tell whether a problem is about access, action or visibility?

Test as the affected persona and check in order. If the object does not appear for that person, the issue is usually reachability. If they can open the object but not a specific record, it is visibility. If they can see the record but a change is refused, the issue is usually action rights, although a field-level restriction can also block an edit. Testing in that order helps you avoid fixing the wrong layer.

How often should a security model review run?

No fixed interval suits all teams. Run a review after a reorganization, a new app rollout, a change in data ownership or an audit finding. Between those events, check a sample of personas on a regular schedule. Teams with stable roles can review less often.

Can I widen a shared rule to fix one person’s visibility gap?

Usually not without checking the other side. A widened rule changes what everyone covered by that rule can see, so the person who needed the fix may be a small part of the change. Test the effect on the other personas first. If the gap is narrow, a scoped grant for that person, with an owner and an end date, keeps the change proportionate.