Question 0090
At fictional Cedarhaven Civic Infrastructure Group, the enterprise identity engineer reviews the partner and guest-user access model during a permissions regression test. The specific recorded issue is: A Visualforce controller queries all disputed contracts in system context and displays them to ordinary account representatives. What should the accountable solution owner change to address the stated situation?
Preliminary writer-proposed response and individual explanations — qualified review pending
The specific problem at Cedarhaven Civic Infrastructure Group is: A Visualforce controller queries all disputed contracts in system context and displays them to ordinary account representatives. The targeted choice is Apply explicit user-appropriate record, object and field authorization before exposing contract data to the page. Successful execution should produce the stated check: A representative receives the permitted contract details but not another customer's restricted contract.
The alternative action addresses a different problem: Regional managers can self-assign a privileged export permission set without a recorded reviewer or business justification. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Civic Infrastructure Group reports: A Visualforce controller queries all disputed contracts in system context and displays them to ordinary account representatives.
The alternative action addresses a different problem: Regional sales users may read employee records but must not view the confidential compensation amount field. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Civic Infrastructure Group reports: A Visualforce controller queries all disputed contracts in system context and displays them to ordinary account representatives.
The alternative action addresses a different problem: A custom integration receives a record collection and serializes hidden fields without a field-permission filter. It might be reasonable for that separate issue, but it would not directly correct what Cedarhaven Civic Infrastructure Group reports: A Visualforce controller queries all disputed contracts in system context and displays them to ordinary account representatives.