Fatskills
Practice. Master. Repeat.
Study Guide: TECH **Salesforce Organization-Wide Defaults (OWD) & Sharing Models: Zero-Fluff, Hands-On Guide**
Source: https://www.fatskills.com/salesforce-certification/chapter/tech-salesforce-organization-wide-defaults-owd-sharing-models-zero-fluff-hands-on-guide

TECH **Salesforce Organization-Wide Defaults (OWD) & Sharing Models: Zero-Fluff, Hands-On Guide**

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~8 min read

Salesforce Organization-Wide Defaults (OWD) & Sharing Models: Zero-Fluff, Hands-On Guide

For Admins Who Need to Lock Down (or Open Up) Data—Fast


1. What This Is & Why It Matters

Organization-Wide Defaults (OWD) are the foundation of your Salesforce security model. They define the baseline level of access users have to records they don’t own. Think of OWD like the default lock on a filing cabinet: - Private: Only the owner (and admins) can see the file.
- Public Read Only: Everyone can see the file, but only the owner can edit it.
- Public Read/Write: Everyone can see and edit the file (use with extreme caution).

Sharing Models (Sharing Rules, Manual Sharing, Role Hierarchy, Teams, etc.) are the exceptions to OWD—they let you selectively grant more access than the default.

Why This Matters in Production

  • Security Nightmare: If OWD is too open (e.g., Public Read/Write on Opportunities), sales reps can accidentally (or maliciously) edit each other’s deals. This leads to data corruption, compliance violations (GDPR, HIPAA), and angry executives.
  • User Frustration: If OWD is too restrictive (e.g., Private on Accounts with no sharing rules), sales teams can’t collaborate, and deals stall.
  • Audit Failures: Many compliance frameworks (SOC 2, ISO 27001) require least-privilege access. OWD is your first line of defense.

Real-World Scenario: You inherit a Salesforce org where all objects are set to Public Read/Write. A disgruntled employee exports the entire Contact database and leaks it to a competitor. Your job: Lock it down without breaking critical workflows (e.g., sales teams sharing leads).


2. Core Concepts & Components

Term Definition Production Insight
Organization-Wide Defaults (OWD) The baseline access level for records users don’t own. ⚠️ Default is Public Read/Write for most objects—change this immediately in new orgs.
Private Only the record owner (and users above them in the role hierarchy) can see/edit. Use for sensitive data (e.g., Opportunities, Cases, Custom Objects with PII).
Public Read Only All users can view records but can’t edit unless they’re the owner. Good for reference data (e.g., Products, Price Books).
Public Read/Write All users can view and edit records. ⚠️ Avoid this like the plague—only use for truly shared data (e.g., Campaigns).
Public Read/Write/Transfer All users can view, edit, and transfer ownership of records. Only for objects where ownership changes frequently (e.g., Leads).
Controlled by Parent Access is inherited from a parent record (e.g., Contacts controlled by Account). Critical for hierarchical data (e.g., OpportunitiesAccounts).
Role Hierarchy Users above a record owner in the hierarchy get the same access as the owner. ⚠️ Not a replacement for OWD—it extends access, not restricts it.
Sharing Rules Exceptions to OWD that grant additional access to groups of users. Use for specific scenarios (e.g., "West Coast team can see East Coast Opportunities").
Manual Sharing Record owners (or admins) can manually share individual records with users/teams. Useful for one-off exceptions (e.g., "Share this Account with a contractor").
Teams Groups of users who collaborate on records (e.g., Account Teams, Opportunity Teams). Reduces reliance on sharing rules—users can self-manage access.
Territory Hierarchy Alternative to role hierarchy for geographic or product-line access. Useful for large orgs with complex sales structures.
Implicit Sharing Automatic access granted by Salesforce (e.g., Account owner can see related Contacts). ⚠️ Not configurable—understand it to avoid surprises.


3. Step-by-Step: Locking Down an Object (Example: Opportunities)

Goal: Change Opportunities from Public Read/Write to Private without breaking sales workflows.

Prerequisites

  • System Administrator profile.
  • A sandbox (never test in production!).
  • A backup of your sharing settings (use Salesforce Data Loader to export OpportunityShare records).

Steps

1. Check Current OWD Settings

  • Go to SetupSharing Settings (in the Quick Find box).
  • Under Organization-Wide Defaults, find Opportunity.
  • Note the current setting (likely Public Read/Write).

2. Change OWD to Private

  • Click Edit.
  • For Opportunity, select Private.
  • Click Save.
  • ⚠️ Salesforce will warn you: "This change may take time to process." For large orgs, this can take hours.

3. Verify Access (Before Fixing Breaks)

  • Log in as a non-admin user (e.g., a sales rep).
  • Try to view/edit an Opportunity they don’t own.
  • Expected: They can’t see it (unless they’re above the owner in the role hierarchy).
  • Check critical workflows:
  • Can sales reps still see Opportunities in reports?
  • Can they still convert Leads to Opportunities?
  • Do Opportunity triggers/flows still work?

4. Fix Broken Access with Sharing Rules

Problem: Sales reps can’t see each other’s Opportunities anymore.
Solution: Create a sharing rule to grant read-only access to the same team.


  • Go to SetupSharing Settings.
  • Under Sharing Rules, click New for Opportunity.
  • Rule Name: Sales Team Read-Only Access
  • Rule Type: Based on record owner
  • Select which records to be shared: Owned by members ofRole: Sales Team
  • Share with: Role: Sales Team
  • Access Level: Read Only
  • Click Save.

5. Test Again

  • Log in as a sales rep.
  • Verify they can now see (but not edit) other reps’ Opportunities.
  • Check reports/dashboards—data should still appear.

6. (Optional) Add Manual Sharing for Exceptions

Problem: A sales rep needs to edit a specific Opportunity they don’t own.
Solution: Use Manual Sharing.


  • Open the Opportunity record.
  • Click Sharing (if not visible, add it to the page layout).
  • Click Add.
  • Search for the user/team to share with.
  • Set Access Level: Read/Write.
  • Click Save.

7. Document the Change

  • Update your data dictionary or security runbook:
  • OWD for Opportunities: Private
  • Sharing Rules: Sales Team Read-Only Access
  • Manual Sharing: Allowed for exceptions (document approval process).


4. ? Production-Ready Best Practices


Security

  • Least Privilege: Start with Private for all objects, then open up only what’s needed.
  • Audit OWD Quarterly: Use Salesforce Optimizer to flag overly permissive settings.
  • Use Controlled by Parent for Hierarchical Data: E.g., ContactsAccounts, OpportunitiesAccounts.
  • Restrict Public Read/Write: Only use for objects where everyone truly needs edit access (e.g., Campaigns).

Cost Optimization

  • Sharing Rules vs. Teams: Teams are cheaper (no sharing recalculation) but require user training.
  • Avoid Over-Sharing: Every sharing rule increases data storage and slows down performance.

Reliability & Maintainability

  • Naming Conventions for Sharing Rules:
  • SR_Opp_SalesTeam_ReadOnly
  • SR_Account_EMEA_ReadWrite
  • Test in Sandbox First: Changing OWD can break integrations (e.g., Marketing Cloud, CPQ).
  • Use Permission Sets for Exceptions: Instead of opening OWD, grant access via Permission Sets.

Observability



5. ⚠️ Common Mistakes & Traps

Mistake Symptom Fix/Prevention
Setting OWD to Public Read/Write by default Users accidentally edit each other’s records; compliance violations. Always start with Private and open up only what’s needed.
Ignoring Controlled by Parent Users can see Contacts but not the related Account (or vice versa). Set child objects (e.g., Contacts, Opportunities) to Controlled by Parent.
Creating too many sharing rules Slow performance; sharing recalculation takes hours. Use Teams or Permission Sets instead of sharing rules where possible.
Not testing OWD changes in sandbox Production workflows break (e.g., reports, integrations). Always test in a full-copy sandbox first.
Assuming Role Hierarchy replaces OWD Users think "my manager can see everything" means OWD doesn’t matter. Role hierarchy extends access—it doesn’t restrict it. OWD is the baseline.


6. ? Exam/Certification Focus


Typical Question Patterns

  1. "What’s the most restrictive OWD setting?"
  2. Answer: Private.
  3. Trap: Public Read Only (still allows viewing).

  4. "A sales rep can’t see an Opportunity they don’t own. What’s the most likely cause?"

  5. Answer: OWD is set to Private and no sharing rules exist.
  6. Trap: "The role hierarchy is broken" (role hierarchy only extends access, not restricts it).

  7. "Which OWD setting allows all users to edit records but not transfer ownership?"

  8. Answer: Public Read/Write.
  9. Trap: Public Read/Write/Transfer (allows ownership changes).

  10. "When should you use Controlled by Parent?"

  11. Answer: For child objects (e.g., ContactsAccounts).
  12. Trap: "For top-level objects like Accounts" (they can’t be controlled by a parent).

Key ⚠️ Trap Distinctions

Concept What It Does What It Doesn’t Do
OWD Sets the baseline access level. Doesn’t grant additional access (that’s what sharing rules do).
Role Hierarchy Extends access up the hierarchy. Doesn’t restrict access (OWD does that).
Sharing Rules Grants additional access to groups. Doesn’t override OWD (e.g., if OWD is Private, sharing rules can’t make it Public).
Manual Sharing Grants access to individual records. Doesn’t scale—use for exceptions only.


7. ? Hands-On Challenge

Scenario: Your org has Accounts set to Public Read/Write. A compliance audit requires you to change it to Private without breaking the following: - Sales reps must still see Accounts in their region.
- Support agents must see Accounts with open Cases.

Your Task: 1. Change OWD for Accounts to Private.
2. Create sharing rules to maintain the required access.

Solution: 1. Change OWD:
- Setup → Sharing Settings → Edit → Set Account to Private → Save.
2. Create Sharing Rules:
- Rule 1 (Sales by Region):
- Name: SR_Account_Sales_Region
- Share records owned by: Role: [Region] Sales Team
- With: Role: [Region] Sales Team
- Access: Read Only
- Rule 2 (Support for Open Cases):
- Name: SR_Account_Support_OpenCases
- Share records with: Open Cases
- With: Role: Support Team
- Access: Read Only

Why It Works: - OWD Private locks down all Accounts by default.
- Sharing rules selectively grant access to the right teams.


8. ? Rapid-Reference Crib Sheet

Task Steps Key Notes
Check OWD Setup → Sharing Settings ⚠️ Default is Public Read/Write for most objects.
Change OWD Edit → Select new setting → Save ⚠️ Can take hours for large orgs.
Create Sharing Rule Setup → Sharing Settings → New Use Role or Public Group for "Share with".
Manual Sharing Record → Sharing → Add Only owners/admins can do this.
View Sharing Hierarchy Setup → Sharing Settings → View Hierarchy Shows who has access to a record.
Recalculate Sharing Setup → Sharing Settings → Recalculate Use if sharing rules aren’t applying.
Controlled by Parent Set OWD to Controlled by Parent Only for child objects (e.g., ContactsAccounts).
Teams Setup → Account Teams / Opportunity Teams Reduces need for sharing rules.
Audit Sharing Export AccountShare, OpportunityShare via Data Loader Check for unexpected access.


9. ? Where to Go Next

  1. Salesforce Sharing & Visibility Documentation – Official guide.
  2. Trailhead: Data Security – Hands-on modules.
  3. Salesforce Optimizer – Free tool to audit security settings.
  4. Sharing & Visibility Designer Certification Guide – For advanced admins.


ADVERTISEMENT