Cert++
Close

Custom permission bypass for validation rules

Key Takeaway

To let specific users bypass a validation rule, give them a custom permission and add a check such as NOT( $Permission.Bypass_Lead_Validation_Rules ) to the rule's formula.

A custom permission bypass adds a check on the current user's custom permission to a validation rule's formula. Users who have the custom permission, usually through a permission set, can then save records the rule would otherwise block.

What a custom permission is

A custom permission is an access check that you define. You assign it to users through permission sets or profiles, the same way you assign other user permissions.

Permission sets and profiles have built-in access settings for these items:

  • Objects
  • Fields
  • Tabs
  • Visualforce pages

They do not have built-in access settings for some custom processes and apps. A custom permission fills that gap.

Platform App Builder Study Guide

Checklist progress

0/340Learned

Given a scenario, demonstrate the use of validation rules to meet stated business requirements

0/15

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform App Builder studiers. 757 members and growing.