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 Updated 26 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills commit 3cb27334b0

Frequently asked questions

npx get-skill add pranavnagrecha/apex-with-without-sharing-decision