Interface: SubjectsWithPermissionOptions<G>
Defined in: packages/core/src/query.ts:7
Options of Rbac.subjectsWithPermission.
Extends
ScopeOptions<G>
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
G extends string | string |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
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). | - | packages/core/src/query.ts:14 |
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 |
