Interface: ScopeOptions<G>
Defined in: packages/core/src/rbac.ts:76
G is the type of guard: any string by default. The methods that take names pass the typed guards here (see CheckGuard), so with per-guard names guard is checked and selects the names.
Extends
GuardOptions<G>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
G extends string | string |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
guard? | G | Guard name, e.g. web or api. Defaults to defaultGuard. | GuardOptions.guard | packages/core/src/rbac.ts:73 |
team? | TeamId | Team id. Only allowed when teams is enabled. | - | packages/core/src/rbac.ts:78 |
