pundit
Preparing search index...
usePundit
Function usePundit
usePundit
()
:
{
policy
:
Policy
}
A hook for using the policy loaded from the PunditContext.
Returns
{
policy
:
Policy
}
An object containing the policy loaded into PunditContext.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
pundit
Loading...
A hook for using the policy loaded from the PunditContext.