Implementing Role-Based Pre-Validation
The validation service performs pre-validation check to call the role-based UI service to see whether or not an admin user has configured a component to be hidden or disabled for certain users. This check is built into the validation service, so there is no work for a customizer to perform.