Interface: SubjectsWithoutRoleOptions<G>
Defined in: packages/core/src/query.ts:18
Options of Rbac.subjectsWithoutRole.
Extends
ScopeOptions<G>
Type Parameters
| Type Parameter | Default type |
|---|---|
G extends string | string |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
among | readonly Id[] | The candidate ids (a page of your users, the members of a team...). The engine only knows subjects that have assignments, so it filters these instead of listing every subject. Ids are compared as strings, so 1 and '1' are the same subject. The result keeps their order. | - | packages/core/src/query.ts:24 |
guard? | G | Guard name, e.g. web or api. Defaults to defaultGuard. | ScopeOptions.guard | packages/core/src/rbac.ts:73 |
team? | TeamId | Team id. Only allowed when teams is enabled. | ScopeOptions.team | packages/core/src/rbac.ts:78 |
