Skip to content

Variable: requireRoleOrPermission ​

ts
const requireRoleOrPermission: Guard<string, RouteGuardOptions> = defaultGuards.requireRoleOrPermission;

Defined in: packages/fastify/src/guards.ts:289

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