Type Alias: SyncRolePermissions<T, G>
ts
type SyncRolePermissions<T, G> = readonly PermissionName<T, G>[] | "*";Defined in: packages/core/src/sync.ts:19
The permissions of a role in a SyncDefinition: an explicit list, or '*' for every permission of the guard.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends RbacTypeConfig | DefaultRbacTypes |
G extends string | DefaultGuardName<T> |
