Apex With Without Sharing Decision

Choosing the sharing keyword on an Apex class: with sharing vs without sharing vs inherited sharing, how it flows through called methods, and when WITH USER_MODE overrides it. NOT for enforcing CRUD/FLS on the records themselves — use apex/apex-stripinaccessible-and-fls-enforcement. NOT for granting row access via __Share records — use apex/apex-managed-sharing.

PranavNagrecha 3cb2733 7 files · 48.1 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/apex/apex-with-without-sharing-decision commit 3cb27334b0

Frequently asked questions

npx skillmds add pranavnagrecha/apex-with-without-sharing-decision