Concretio

View Original

Force.com ESAPI v0.5 & death of Apex-CRUD-FLS-Validator API.

“Apex-CRUD-FLS-Validator” was an open-source project I started a few days back on GitHub. Motive of this project was to add some handy apis that were missing previously in Force.com ESAPI v0.4. Those missing APIs on a high level were

  • operation to assert() and throw exceptions if CRUD/FLS is violated. We found it better to crash the page for security error like Salesforce does, so that admin can give the required access. Showing blank values or hiding items was a challenge to handle in complex screens.

Read More: https://abhinav.fyi/force-com-esapi-v0-5-death-of-apex-crud-fls-validator-api-2/