apex-enterprise-patterns / fflib-apex-common

Common Apex Library supporting Apex Enterprise Patterns and much more!
BSD 3-Clause "New" or "Revised" License
903 stars 514 forks source link

fflib_SecurityUtilsTest: Applying permission set to Read Only profile user #398

Closed scottmcclung closed 2 years ago

scottmcclung commented 2 years ago

When using the Read Only profile to construct the RunAs user, apply the same permission set used for the Minimum Access - Salesforce. This ensures that the user has the expected visibility on the Contact.Birthdate field.

Fixes: #397


This change is Reviewable