Interface: PermissionMatrix<S>
Defined in: packages/polizy/src/role-registry.ts:100
A single row/column-aware view of a tenant's roles, for a permissions matrix.
Type Parameters
S
S extends AnyRoleScaffoldedSchema
Properties
permissions
permissions:
GrantableAction<S>[]
Defined in: packages/polizy/src/role-registry.ts:102
The fixed permission rows (the grantable action vocabulary).
roles
roles:
object[]
Defined in: packages/polizy/src/role-registry.ts:104
The dynamic role columns, each with the set of actions it grants.
can
can:
Set<GrantableAction<S>>
label?
optionallabel?:string
name
name:
string