Skip to content

Type Alias: RequirementKind ​

ts
type RequirementKind = "permission" | "role" | "role_or_permission";

Defined in: packages/core/dist/index.d.ts:863

Which kind of requirement a guard checks.

Released under the MIT License. Inspired by spatie/laravel-permission.