Type alias UseUserHasPermissionPredicate

UseUserHasPermissionPredicate: ((...permissionsToCheck) => boolean)

A function that checks if current user is part of all permissions.

Type declaration

    • (...permissionsToCheck): boolean
    • Parameters

      • Rest ...permissionsToCheck: string[]

      Returns boolean

Params

[permissionsToCheck] Name of one or more groups to check.

Returns

Is part of all permissionsToCheck or not.

Generated using TypeDoc