Skip to content

Variable: canAll ​

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

Defined in: packages/sveltekit/src/server/guards.ts:291

Guards.canAll with the default handlers (401 / 403 errors). Any name.

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