Interface: SnapshotOptions<T, G>
Defined in: packages/core/src/types.ts:171
Options of rbac.for(user).snapshot().
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends RbacTypeConfig | DefaultRbacTypes |
G extends string | DefaultGuardName<T> |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
checkBefore? | readonly PermissionsOf<GuardTypes<T, G>>[] | Permission names to run the before hook for. Those it denies (returns false for) are listed in the snapshot's denied, which the React and Vue packages honour. Default: none, and the snapshot has no denied. | packages/core/src/types.ts:176 |
