Permission and Feature Validation
useAccountFeatureValidator
The useAccountFeatureValidator has several functions to validate features on a users accounts.
accountFeaturesHaveLoaded
: checks if accounts features have been loaded from the server and cached for quick lookup.hasFeatureOnAccount
: checks to see if a specific account has a specific feature (or set of features)hasFeatureOnSomeAccount
: checks to see if any account has a specific feature (or set of features)- isESignatureFeatureAvailable: checks if a specific account has the eSignature account feature or if the user is authenticated to docusign (either indicates that the eSignature feature can be used.