ApiCoreInterfaces
Interface: RoleDefinition
Defined in: packages/core/src/space/roles.ts:232
One definition of a role: its grants count only as far as its author could invoke them, as of view
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
by | readonly | string | null | Its author's account; null for the constitution's | packages/core/src/space/roles.ts:236 |
event | readonly | string | The definition's id; the space id for the constitution's | packages/core/src/space/roles.ts:234 |
grants | readonly | readonly SpaceGrant[] | - | packages/core/src/space/roles.ts:238 |
nests | readonly | readonly string[] | Roles whose grants members of this one hold too | packages/core/src/space/roles.ts:240 |
title? | readonly | string | - | packages/core/src/space/roles.ts:237 |
view | readonly | AccessState | null | Where its author's power is judged. Null for the constitution's | packages/core/src/space/roles.ts:242 |