Lesson 12 of 18 · 5–7 minutes
OWD and Least-Privilege Record Access
You can now separate operations and fields from rows. OWD defines the baseline before additional sharing is considered.
Learning sequence · data model first, security layers next
- What CRM and Salesforce Do
- The Salesforce Ecosystem and Major Clouds
- Org, App, Object, Field, and Record
- Standard and Custom Objects
- Common Standard Objects
- Field Types and Data Quality
- Objects, Fields & Records
- Lookup vs Master-Detail
- Many-to-Many Relationships and Junction Objects
- Profiles, Permission Sets & Object Access
- Field-Level Security
- OWD and Least-Privilege Record Access
- Opening Access: Role Hierarchy, Sharing Rules, Public Groups & Apex Sharing
- Apex First Steps
- Variables and Collections
- SOQL and DML Basics
- Why Asynchronous Apex Exists
- REST Callout Introduction
Your focus
Prepare for Your Next Developer Role
REVIEW · Review • Apply • Practice
- Build an access matrix and distinguish missing CRUD/FLS from missing sharing.
Learning objective
Select a restrictive record-access baseline and identify deliberate exceptions.
Before you start
Object permissions and field-level security.
Real-world scenario
Regional support agents should see their own region’s Cases, while managers need team visibility. Private Case OWD is a starting point, not the complete solution. Queue ownership, manager visibility and regional grants must be designed explicitly.
The concept
Organization-wide defaults (OWD) establish baseline access to records a user does not own. Available settings depend on the object: common choices include Private, Public Read Only and Public Read/Write; a detail object can be Controlled by Parent. Start with the most restricted legitimate user need, then open access deliberately. Private is not “only the owner can ever see it”: hierarchy, sharing and privileged permissions can grant access. Sharing normally adds access; restriction rules on supported objects can narrow visibility and require separate review.
Create a small matrix: owner, same-region colleague, other-region colleague and manager. For each, state expected Read/Edit. First test the baseline with ordinary users, then add only the exceptions. External-user defaults and licenses need a separate review; do not assume internal sharing behavior applies unchanged.
Object and field permissions remain necessary. Grants above the baseline are designed next.
1.Object + field permissions
What operations and fields are allowed?
2.OWD baseline: Private
Which other-owned records are initially available?
3.Deliberate sharing grants
Add required collaboration; do not make the baseline public just for one team.
- Object + field permissions connects to OWD baseline: Private: then assess record access
- OWD baseline: Private connects to Deliberate sharing grants: open only required access
Common mistake
Using Public Read/Write and expecting a sharing rule to remove cross-region access. Sharing rules cannot reduce an already broad baseline. Testing only as an administrator can hide this mistake.
Interview angle
“Why Private rather than Public Read Only?” Explain whether any legitimate users must not see others’ records; then describe how required collaboration will be opened.
Pause and apply
For a private Case owned by an agent, identify who should read or edit it. Which entries need a grant beyond the baseline? Carry that matrix into the next lesson.
Official references
- Trailhead: Control Access to Records (opens in a new tab)
- Salesforce Architects: Platform Sharing Architecture (opens in a new tab)
Reviewed 2026-09-22. Examples are illustrative; no code is executed here.
Key takeaways
- OWD is a baseline, not a complete effective-access answer.
- Do not solve a record problem by granting unnecessary object-wide overrides.
- Least privilege needs negative tests as well as successful access tests.
Practice next
No linked assessment is available for this lesson. Use the pause-and-apply question to check your reasoning.
Reading these lessons does not yet save completion. Challenge results continue to provide assessment evidence.