Question 0110
In a second expressly RELATED fictional study setting, at Cedarhaven Urban Health Partnership, the sharing model analyst reviews Apex security and sharing enforcement in an internal audit and access certification. The same underlying learning issue is presented: A customer onboarding Flow invokes Apex that updates a protected approval status despite the caller lacking permission to edit it. Which corrective access-control action most directly addresses the reported failure?
Preliminary writer-proposed response and individual explanations — qualified review pending
The specific problem at Cedarhaven Urban Health Partnership is: A customer onboarding Flow invokes Apex that updates a protected approval status despite the caller lacking permission to edit it. The targeted choice is Use supported user-mode DML or deliberate authorization checks when applying user-originated updates. Successful execution should produce the stated check: An ordinary customer-service caller cannot modify protected approval status, while a granted approver can.
The alternative action addresses a different problem: A development sandbox refresh copies production identity scans into an environment accessible to an outside design agency. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Urban Health Partnership reports: A customer onboarding Flow invokes Apex that updates a protected approval status despite the caller lacking permission to edit it.
The alternative action addresses a different problem: A compliance team tries to revoke a contractor's export authority by assigning a more restrictive permission set, but export access remains. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Urban Health Partnership reports: A customer onboarding Flow invokes Apex that updates a protected approval status despite the caller lacking permission to edit it.
The alternative action addresses a different problem: An Apex class declared with sharing checks record sharing but returns private customer identifiers that the calling user cannot ordinarily read. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Urban Health Partnership reports: A customer onboarding Flow invokes Apex that updates a protected approval status despite the caller lacking permission to edit it.