Skip to content

Org-Wide Defaults, Ownership and the Role Hierarchy

Chapter 6 of Securing Salesforce: Sharing and Visibility, Part 2: The File Cabinets: Sharing Records. New to the course? Start with chapter 1.

Part 1 got people through the front door and into the right offices. Part 2 opens the file cabinets: which records each person sees. And it starts where every sharing design starts, with the first three ways from the map: the org-wide default, the role hierarchy, and the owner.

In class I call the sharing settings your very first stop. Everything else in Part 2 opens records up from the baseline you set here. So set it on purpose: if there’s even one user in your system you want to hide a record from, the default is Private. It’s easier to open up later than to lock down later.

  • Two rules decide access. The most restrictive wins between the office and the cabinet; the most generous grant wins inside the cabinet.
  • Every grant has a home. Most are rows in a share table; some come from groups, the hierarchy or the platform itself.
  • Set each default for the user who mustn’t see. Private if even one must not; and a separate, never more open, default for outsiders.
  • The owner holds the first key. A person, a queue or a system user, and it moves when the owner changes.
  • Design the role hierarchy for access, not as an org chart. Each role is a level of data access, and every move is a recalculation.
  • The hierarchy sends records to the top. Confidential records need a design that stops them: a branch of their own, no role, a queue, or the hierarchy turned off.
  • The data model shares before you do. Master-detail and Controlled by Parent decide a child’s access from its parent.
  • The user record is a record too. Who can see whom is a sharing decision of its own.

Here’s where the chapter starts: the four kinds of grant that can give someone a record.

Four kinds of access grant Four kinds of access grant. Explicit: one record, shared directly to a user or group, by the owner, a sharing rule, a team, a manual share or code. Group membership: you're in a group that has the access. Inherited: someone below you in the role or territory hierarchy has the access. Implicit: built into Salesforce, between an account and its child opportunities, cases and contacts. Footnote: a user can have many grants on one record; Salesforce uses the most generous one. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.57.1", "built": "2026-10-31", "id": "DGM-SVA-OH-02", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "comparison 0.5.0", "theme": "stevetecharc 1.4.0"} Explicit one record, shared directly To a user or a group Owner, rule, team, manual share, code Group membership you're in the group The group has the access So its members do Inherited through a hierarchy Someone below you has it Role or territory hierarchy Implicit built into Salesforce An account and its children Opportunities, cases, contacts A user can have many grants on one record. Salesforce uses the most generous one. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

And the first decision for every object: how locked its cabinet starts.

Three org-wide defaults Three org-wide defaults, from locked to open. Private: the owner and those above them in the role hierarchy see the record; everyone else needs a grant; pick it if even one user mustn't see a record. Public Read Only: everyone sees every record, the owner and those above edit; pick it if all may see but not all may edit. Public Read/Write: everyone sees and edits, only the owner shares or deletes; pick it if there is nothing to hide. Footnote: everyone means users who can see the object; the default never opens the office, only the cabinet. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.57.1", "built": "2026-10-31", "id": "DGM-SVA-OH-03", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "comparison 0.5.0", "theme": "stevetecharc 1.4.0"} Private locked Owner and those above see it Everyone else needs a grant Pick it if even one user mustn't see a record Public Read Only everyone reads Everyone sees every record Owner and those above edit Pick it if all may see, not all may edit Public Read/Write open Everyone sees and edits Only the owner shares or deletes Pick it if there is nothing to hide Everyone means users who can see the object. The default never opens the office, only the cabinet. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Seven modules, each standing on its own.

  1. Under the Hood: How Salesforce Decides Who Can See a Record. The two rules; four kinds of grant; the object’s table, its share table and the group tables; access worked out in advance, and what that costs.
  2. Org-Wide Defaults: How Locked Each File Cabinet Starts. Private, Public Read Only and Public Read/Write; the special objects; internal and external defaults; changing a default.
  3. Ownership and Queues: Who Holds the Key to Each Record. What an owner gets; objects without owners; queues as owners; what moves, goes or stays when the owner changes.
  4. The Role Hierarchy: Design It for Access, Not as an Org Chart. What the hierarchy does; draw it first; every role is a sharing decision; depth and count; overlays.
  5. Confidential Records: Start at the Top of the Hierarchy. The CEO and the complaint; five ways to keep a record from the top, and what gets through anyway.
  6. Master-Detail and Controlled by Parent: When the Data Model Shares for You. Lookup or master-detail, for sharing; the Sharing Setting; junction objects and both masters.
  7. Who Can See Other Users: The User Record Is a Record Too. The User default; View All Users; user sharing rules; reports and the users in them.

Then check what stuck with the study guide.

  • For every object, its internal default, set by asking whether even one user mustn’t see a record, and its external default, never more open.
  • For every object, who owns its records: a person, a queue or a system user, and what happens when the owner changes.
  • The role hierarchy, drawn before it’s built, each role a level of data access, kept shallow, with overlays placed on purpose.
  • For every confidential object, how its records are kept from the top, and who still holds the overrides.
  • For every child object, lookup or master-detail, decided with the sharing question asked.
  • Whether users may see each other, and how that’s tested.
  • When the expensive changes run: default changes, role moves and owner changes on many records.

Beyond the exam: what AI changes. An agent runs as a user, so it starts from the same baseline as everyone else: the defaults, the owner and the hierarchy above it. Give an agent’s user a role high in the tree, and it inherits every record below. Place agent users like any other user: for the access they need, not for convenience. Chapter 20 covers agents.

Each module lists its own sources. Two to start with:

Next: Public Groups and Criteria-Based Sharing Rules