Free Sample Lesson: Record access: org-wide defaults, roles, sharing rules and restriction rules (Platform Administrator II Cert Lab)

Free sample lesson from the Platform Administrator II Cert Lab. The full course has 18 lessons and 4 full practice exams.

Unlock every section
Security and Access · SA1 · part of the 20% section · about 20 min with practice

SA1: Record access: org-wide defaults, roles, sharing rules and restriction rules

You’ll be able to: pick the record-access feature that opens or narrows access for a given scenario.

Which record-access tool when

You need to…UseRemember
Set the baseline for records a user doesn’t ownOrg-wide defaults (OWD)Private, Public Read Only or Public Read/Write for most objects; internal and external defaults are separate
Let managers see their team’s recordsRole hierarchyUsers see records owned by or shared with users below them
Open records to a group, role or territory automaticallySharing rule (owner- or criteria-based)Never stricter than the OWD; up to 300 per object, 50 criteria-based
See a parent account because you own its case or contactImplicit sharingRead Only on the parent; standard relationships only
Show some users only a subset of records they could otherwise seeRestriction ruleFilters access; custom objects, external objects, quotes, contracts, events, tasks and a few more
Stop managers seeing a custom object’s recordsClear Grant Access Using HierarchiesOnly available for custom objects

Start with the most restrictive baseline

Org-wide defaults set the access users have to records they don’t own. Set them to the most restrictive level any user needs, then open access with the role hierarchy, sharing rules, teams and manual sharing. Every one of those tools can only grant more access. None of them can take access away below the OWD.

Sharing rules extend access to users in public groups, roles or territories. An owner-based rule shares records owned by one set of users; a criteria-based rule shares records whose field values match. An object can have up to 300 sharing rules, including up to 50 criteria-based or guest user rules. To change who gets access on an existing rule, delete it and create a new one; you can edit only the label, name, access level and a few type-specific settings.

Exam trap

If a scenario says some users must see fewer records than the OWD and sharing give them, the answer isn’t a sharing rule. It’s a restriction rule (or a stricter OWD with sharing to open it back up).

Restriction rules narrow access

A restriction rule filters the records a user already has access to, so they see only records matching your criteria. It applies across list views, lookups, related lists, reports, search, SOQL and SOSL. Restriction rules work on custom objects, external objects, quotes, contracts, events, tasks, time sheets and time sheet entries. You get up to two active rules per object in Enterprise and Developer editions and up to five in Performance and Unlimited.

Implicit sharing and the hierarchy

Implicit sharing is built in. If you can access an account’s child case, contact or opportunity, you get Read Only access to the parent account, even with the Account OWD set to Private. That doesn’t apply when your only access to the child comes from View All Records or Modify All Records. Implicit sharing covers standard relationships only.

For custom objects, you can turn off Grant Access Using Hierarchies on the Sharing Settings page so that only owners and users granted access see the records. Queues have their own Grant Access Using Hierarchies setting, which shares queue records with members’ superiors in the role hierarchy.

Predict, then reveal

Support agents must see only cases they work on, but the Case OWD is Public Read Only. Can a sharing rule fix it?

Show the answer

No. Sharing rules only add access. Make the Case OWD Private, then open access with the role hierarchy, queues, teams or sharing rules where needed.

Report and dashboard folders

Folder access has three levels. Viewer lets you view the reports or dashboards. Editor lets you view and save them. Manager also lets you share, rename and delete. A new folder is visible only to you and admins until you share it. When you share a folder with a role, only users in that role see it, not superior roles.

Try it 5 min · your free Developer Edition org or Trailhead Playground

  1. From Setup, open Sharing Settings and note the default internal and external access for Account and one custom object.
  2. Create a public group, then a criteria-based sharing rule on a custom object that shares records with a status of Urgent with that group as Read Only.
  3. Open Restriction Rules on a custom object (or Task) and look at the user and record criteria fields. Don’t activate a rule in a production org.

Practice questions

Ten exam-style questions on this lesson. Answer each one before you open it.

Question 1. Which statement about org-wide defaults is true?

  • A. Other sharing tools can only add access
  • B. OWDs apply only to records that a user owns
  • C. The role hierarchy can lower access below the OWD
  • D. A sharing rule can hide records the OWD would show
Show the answer and explanation

Answer: A. Org-wide defaults set the baseline for records a user doesn’t own. Role hierarchy, sharing rules and other tools can only open access further.

To show fewer records than sharing allows, use a restriction rule or a stricter OWD.

Question 2. An admin needs every lead with Status = Hot shared Read/Write with the Inside Sales public group. What should they create?

  • A. A permission set that grants View All on leads
  • B. An owner-based sharing rule on the lead owner role
  • C. A restriction rule on the Lead object with that status
  • D. A criteria-based sharing rule
Show the answer and explanation

Answer: D. Criteria-based sharing rules share records whose field values match, with a public group, role or territory.

Restriction rules narrow access, and View All would open every lead, not just hot ones.

Question 3. A user owns a contact under an account they can’t otherwise see. The Account OWD is Private. What access do they have to the account?

  • A. Read/Write, because they own a child record
  • B. Read Only, through implicit sharing
  • C. Full access, through the role hierarchy
  • D. No access until a sharing rule is added
Show the answer and explanation

Answer: B. Implicit sharing gives Read Only access to the parent account when you can access its child case, contact or opportunity.

Implicit parent access is read-only, and it doesn’t come from the role hierarchy.

Question 4. Which objects support restriction rules? (Choose 2.)

  • A. Leads and lead history
  • B. Accounts and their contacts
  • C. Custom objects
  • D. Tasks and events
Show the answer and explanation

Answer: C, D. Restriction rules are available for custom objects, external objects, quotes, contracts, events, tasks, time sheets and time sheet entries.

Accounts and leads aren’t on the supported list.

Question 5. Managers must not see records of a custom object owned by their reports. What should the admin do?

  • A. Move each manager to a role below their team members
  • B. Set the object’s OWD to Public Read Only for everyone
  • C. Clear Grant Access Using Hierarchies for that object
  • D. Remove the View Setup permission from each manager
Show the answer and explanation

Answer: C. For custom objects you can disable Grant Access Using Hierarchies on Sharing Settings, so only owners and users granted access see the records.

You can’t clear that setting for most standard objects; it’s for custom objects.

Question 6. How many active restriction rules can an Unlimited Edition org have per object?

  • A. Five
  • B. Up to two per object
  • C. Up to 300 per object
  • D. Up to 50 per object
Show the answer and explanation

Answer: A. Help lists up to two active restriction rules per object in Enterprise and Developer editions and up to five in Performance and Unlimited.

300 total and 50 criteria-based are sharing rule limits, not restriction rule limits.

Question 7. An admin wants to change which public group an existing sharing rule shares records with. What must they do?

  • A. Clone the rule and then deactivate the original
  • B. Change the group membership of every target user
  • C. Delete the rule and create a new one
  • D. Edit the Share with field on the existing rule
Show the answer and explanation

Answer: C. You can edit the label, rule name and access level of a sharing rule. To change who is granted access, delete the rule and create a new one.

Sharing rules have no deactivate option or editable Share with field.

Question 8. A user’s only access to a case comes from the View All Records permission on Case. Do they get implicit access to the case’s parent account?

  • A. Yes, Read Only, like any user with case access
  • B. No; implicit parent access needs ownership or sharing
  • C. Yes, Read/Write, because View All is a super-permission
  • D. Only when the Account OWD is Public Read Only
Show the answer and explanation

Answer: B. Help says you can’t access the parent account through implicit sharing if your only access to the child comes from View All Records or Modify All Records.

Implicit parent access needs access to the child through ownership or sharing.

Question 9. Which settings can differ for internal and external users?

  • A. Report folder access level names
  • B. The org-wide default access level
  • C. Sharing rule limits for each object
  • D. Profile login hours for each group
Show the answer and explanation

Answer: B. You can set different org-wide default access levels for internal and external users.

Login hours belong to profiles, and sharing rule limits are fixed per object.

Question 10. Records shared with a queue should also be visible to queue members’ managers. Which setting does that?

  • A. View All Records on each manager’s profile
  • B. Manual sharing from each record owner
  • C. A restriction rule on the queue’s object
  • D. The queue’s hierarchy access setting
Show the answer and explanation

Answer: D. When Grant Access Using Hierarchies is on for a queue, records shared with the queue are also shared with members’ superiors in the role hierarchy.

A restriction rule would narrow access, not widen it.

Before you move on

1. Can a sharing rule be stricter than the OWD?

Show answer

No. It can only grant more access.

2. What narrows access below what sharing allows?

Show answer

A restriction rule.

3. What access does implicit sharing give to a parent account?

Show answer

Read Only.

Key takeaways

  • Set OWDs to the most restrictive level anyone needs, then open access.
  • Sharing rules: owner- or criteria-based, to groups, roles or territories; 300 per object, 50 criteria-based.
  • Restriction rules filter access: 2 active per object in Enterprise, 5 in Unlimited.
  • Implicit sharing gives Read Only parent access, but not from View All alone.

Sources

Checked against Salesforce Help and Salesforce Developers docs on Oct 18, 2026. Questions follow the current Platform Administrator II exam guide.

Liked this lesson?

There are 17 more like it, plus section checks, flashcards and 4 full 60-question practice exams.

Start studying for $9.99