ข้ามไปยังเนื้อหา

Steve's 25 Ways to Share a Record: The Map

เนื้อหานี้ยังไม่มีในภาษาของคุณ

Chapter 5 of Securing Salesforce: Sharing and Visibility, Part 1: The Front Door and the Offices. New to the course? Start with chapter 1.

You’ve made it into the building. You’ve made it into the accounting office. Now there are these locked file cabinets. Does everyone in the accounting office get to see every file?

No. Just because you made it into the office, you shouldn’t see every file. Chapters 2 to 4 were the front door and the offices. This chapter is the file cabinets: every way a record is opened, or closed again, to a user. I used to call it Steve’s 17 ways to share a record. Then 20. Today it’s 25, in eight sets, because each set answers one question: who, or what, opens the record?

  • A way is anything that makes a record visible, or not. Not all of them are sharing rules. Some are out of the box, some you configure, and some are code.
  • First the office, then the cabinet. Every way assumes object access. The most restrictive wins, except View All and Modify All, which override sharing.
  • Every design starts at the top level. The org-wide default, grant access using hierarchies, ownership and queues. If even one user must not see a record, start at Private.
  • Rules open records automatically. Criteria-based, guest user and owner-based rules: which records, who, and how much. Up to 300 per object, including up to 50 criteria-based or guest user rules.
  • People open records by hand. Manual shares, teams, territories, Compliant Data Sharing and calendar sharing. Since Winter ‘27, keeping manual shares on an owner change is a choice.
  • The platform opens some by itself. View All and Modify All, implicit sharing between parents and children, and data categories for Knowledge.
  • Programmatic sharing is inserting a record into the share table. Which record, who, how much, and why. Code can also skip sharing in system mode, only on purpose.
  • One set takes access away. Restriction rules narrow what sharing opened, for good. Scoping rules only filter, and the user can switch them off.
  • The license decides the tools. High-volume users have no role and no share table: sharing sets bring records in, share groups send theirs out.
  • Customers and partners have their own structure. External roles, super users and external account hierarchies share records up and across.
  • The share table records most of it, not all of it. Know which ways write a row, and where to look for the ones that don’t.

Here’s the map the whole chapter, and Parts 2 and 3 of the course, follow.

Steve's 25 ways to share a record, in eight sets Steve's 25 ways to share a record, in eight sets, each set answering who or what decides. Set 1, the top level, the baseline: 1 org-wide defaults, 2 grant access using hierarchies, 3 ownership, 4 queues. Set 2, sharing rules, the admin by rule: 5 criteria-based, 6 guest user, 7 owner-based. Set 3, by hand, people record by record: 8 manual sharing, 9 teams, 10 territories, 11 Compliant Data Sharing in industry clouds, 12 calendar sharing. Set 4, built into the platform: 13 View All and Modify All, on an object or on all data, 14 implicit sharing, 15 data category visibility, for Knowledge articles and questions only. Set 5, programmatic, a developer or a flow: 16 programmatic sharing, 17 system mode in Apex or a flow. Set 6, taking access away: 18 restriction rules, 19 scoping rules, which filter but don't secure. Set 7, community licenses: 20 sharing sets, 21 share groups, 22 account relationship data sharing rules. Set 8, external hierarchies: 23 external role hierarchy, 24 super user, 25 external account hierarchies. Footnote: most restrictive wins; a way opens a record only as far as the user's object access allows. {"author": "Steve Simpson", "blueprint": "1.0.1", "builder": "standard 1.57.0", "built": "2026-10-30", "id": "DGM-SVA-WS-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} THE SET, AND WHO DECIDES THE WAYS Set 1: The top level the baseline 1 Org-wide defaults how locked, to begin with 2 Hierarchies grant access using hierarchies 3 Ownership one owner per record 4 Queues a queue as the owner Set 2: Sharing rules the admin, by rule 5 Criteria-based by what's on the record 6 Guest user for the public, on a site 7 Owner-based by who owns the record Set 3: By hand people, record by record 8 Manual sharing one record, shared by a person 9 Teams account, opportunity, case 10 Territories accounts, by territory 11 Compliant Data Sharing participants, in industry clouds 12 Calendar sharing a user shares their events Set 4: Built into the platform Salesforce itself 13 View All, Modify All every record: an object, or all data 14 Implicit sharing parent and child, built in 15 Data category visibility Knowledge articles and questions only Set 5: Programmatic a developer or a flow 16 Programmatic sharing Apex or a flow writes the share 17 System mode Apex or a flow, on purpose Set 6: Taking access away the admin, narrowing 18 Restriction rules takes access away 19 Scoping rules filters, doesn't secure Set 7: Community licenses the license decides 20 Sharing sets through the user's account or contact 21 Share groups share what community users own 22 Account relationship data sharing rules between related accounts Set 8: External hierarchies the partner or customer structure 23 External role hierarchy partner and customer roles 24 Super user sees other users' records 25 External account hierarchies child accounts, up to the parent Most restrictive wins: a way opens a record only as far as the user's object access allows. HOW TO READ IT opens access takes it away, or only filters for external users © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Sets 1 to 4 are what Salesforce gives you. Set 5 is what you build, and the code should be saved for what the others can’t do. Set 6 is the only set that closes cabinets again. Sets 7 and 8 are for users outside your company.

Nine modules, each standing on its own.

  1. Into the File Cabinets: 25 Ways, in Eight Sets. From 17 ways to 25; what counts as a way; first the office, then the cabinet; and the map.
  2. Set 1, The Top Level. Org-wide defaults, grant access using hierarchies, ownership and queues; and the share table’s first row, the owner’s.
  3. Set 2, Sharing Rules. Criteria-based, guest user and owner-based rules; the public group as a Swiss Army knife; the limits of 50 and 300; and Steve’s number of zeros.
  4. Set 3, By Hand. Manual sharing and Winter ‘27’s keep-manual-shares setting; account, opportunity and case teams; sales territories; Compliant Data Sharing; calendar sharing.
  5. Set 4, Built Into the Platform. View All and Modify All; implicit sharing, the hidden rules; data category visibility for Knowledge.
  6. Set 5, Programmatic. Inserting a share record: its four pieces, in Apex and in a flow; sharing reasons and the new custom row causes on standard objects; system mode in code.
  7. Set 6, Taking Access Away. Restriction rules, strict; scoping rules, soft; open, then narrow; and the last resort.
  8. Set 7, Community Licenses. The stadium’s cheap seats; sharing sets in, share groups out; account relationship data sharing rules.
  9. Set 8, External Hierarchies. External roles, super users and external account hierarchies; then what the share table doesn’t show, and what’s beyond the record.

All through the chapter, one account’s share table grows, a set at a time: the owner’s row, rule rows, manual, team and territory rows, the implicit parent row, and your own code’s row. Then the last module asks where to look for everything that never writes a row.

Where to look for each way Where to look for each way. In the share table, a row with a reason: the owner; sharing rules and guest user rules; manual shares, teams and territories; implicit parent access; and code, with your own reason. Somewhere else, with no row, look here instead: the defaults and the role hierarchy, in Sharing Settings and the roles; View All and system mode, in permissions and code; child implicit access to cases and contacts, and sharing sets, which Salesforce doesn't store as rows; restriction and scoping rules, on the object; data categories, on the role, permission set or profile. Footnote: Salesforce may stop storing some share rows; don't build on rows you didn't write. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.57.1", "built": "2026-10-30", "id": "DGM-SVA-WS-18", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "comparison 0.5.0", "theme": "stevetecharc 1.4.0"} In the share table a row with a reason Owner Sharing rules, guest user rules Manual, teams, territories Implicit parent Code, with your own reason Somewhere else no row: look here instead Defaults and hierarchy: Sharing Settings, roles View All, system mode: permissions, code Child implicit, sharing sets: not stored Restriction and scoping rules: the object Data categories: role, permission set, profile Salesforce may stop storing some share rows. Don't build on rows you didn't write. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Then check what stuck with the study guide.

  • For each object, which sets the design uses, starting from the top level and the question “is there anyone we need to hide this from?”
  • For each requirement, whether a rule, a person, the platform or code opens the record, and how many of each there will be.
  • Who holds View All, Modify All, View All Data and Modify All Data, and which code runs in system mode, each with a reason and a reviewer.
  • Whether manual shares are kept when records change owner, and which code moves to a sharing reason of its own.
  • Whether anything needs taking away, and whether a restriction rule is the right tool or the model should open less.
  • Which seat each external user sits in, and so which ways can reach them.
  • That someone can explain every row in the share table, and knows where to look for the ways that write none.

Beyond the exam: what AI changes. An agent opens the same file cabinets. It runs as a user, so every one of the 25 ways decides what it can find, and the same map answers “why can the agent see this record?” What changes is speed and reach: an agent asked a broad question reads everything its user can reach, and an action that runs in system mode reads past all 25. Chapter 20 covers agents.

Each module lists its own sources, each checked 2026-11-01. Two to start with:

Next: Part 2 begins with Org-Wide Defaults, Ownership and the Role Hierarchy (coming soon)