Interface: SubjectsWithoutPermissionOptions<G>
Defined in: packages/core/src/query.ts:28
Options of Rbac.subjectsWithoutPermission.
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
G extends string | string |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
among | readonly Id[] | The candidate ids, as in SubjectsWithoutRoleOptions.among. | - | packages/core/src/query.ts:30 |
expandWildcards? | boolean | With wildcard: true, also return subjects whose granted permission is a wildcard that implies one of the given names (articles.* or * for articles.edit), directly or through a role. The names then don't need to exist as permissions, as with hasPermissionTo(). Has no effect when wildcard is off. Default: false (only exact permission rows match, and unknown names throw PermissionDoesNotExist). | SubjectsWithPermissionOptions.expandWildcards | packages/core/src/query.ts:14 |
guard? | G | Guard name, e.g. web or api. Defaults to defaultGuard. | SubjectsWithPermissionOptions.guard | packages/core/src/rbac.ts:73 |
team? | TeamId | Team id. Only allowed when teams is enabled. | SubjectsWithPermissionOptions.team | packages/core/src/rbac.ts:78 |
