Field Level Security In Async Contexts

Use when async Apex (Queueable, Batch, Schedulable, @future) needs to honor the originating user's field-level security but the job runs in a different security context than the user who initiated it. Triggers: 'fls bypassed in batch apex', 'queueable runs as wrong user', 'stripInaccessible in async returns full record', 'WITH USER_MODE evaluating against system user', 'scheduled apex sees fields the original user could not'. NOT for synchronous FLS enforcement — use apex/apex-stripinaccessible-and-fls-enforcement. NOT for the with/without sharing keyword decision — use apex/apex-with-without-sharing-decision.

PranavNagrecha Updated 26 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills commit 64986379c2

Frequently asked questions

npx get-skill add pranavnagrecha/field-level-security-in-async-contexts