Permission and Feature Validation

useRouteValidator Hook

Most account feature and system permission checking happens in this hook.

This hook is used to validate if a specific route should even be rendered, if tabs on a page should be show, if navbar or sidenav options should be show or hidden, and which features show up in the account features flyout (to name some of the most common).

There a couple of functions in the hook to validate routes.

useAccountFeatureValidator Hook

There are several functions to validate features on the logged in users accounts.

useSystemPermissionsValidator Hook

There are several functions to validate system permissions the logged in users accounts.

 

 





Revision #4
Created 19 January 2023 04:11:03 by Quinn Godfrey
Updated 19 January 2023 04:59:59 by Quinn Godfrey