Skip to content

Variable: requireRole ​

ts
const requireRole: Guard<string, RoleGuardOptions> = defaultGuards.requireRole;

Defined in: packages/express/src/guards.ts:275

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