Skip to content

Type Alias: ForbiddenReason ​

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

Defined in: packages/next/src/responses.ts:4

Which kind of requirement failed — same values as the Express package.

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