Interface: RbacDecoratorOptions
Defined in: packages/nestjs/src/decorators.ts:34
The options every requirement decorator takes (last argument).
Extended by
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
guard? | string | Check in this guard instead of the request's (subject.withScope({ guard })), like spatie's role:admin,api. Default: the guard of the resolved subject (RbacModule guard option). | packages/nestjs/src/decorators.ts:39 |
