minca
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

PropertyModifierTypeDescriptionDefined in
byreadonlystring | nullIts author's account; null for the constitution'spackages/core/src/space/roles.ts:236
eventreadonlystringThe definition's id; the space id for the constitution'spackages/core/src/space/roles.ts:234
grantsreadonlyreadonly SpaceGrant[]-packages/core/src/space/roles.ts:238
nestsreadonlyreadonly string[]Roles whose grants members of this one hold toopackages/core/src/space/roles.ts:240
title?readonlystring-packages/core/src/space/roles.ts:237
viewreadonlyAccessState | nullWhere its author's power is judged. Null for the constitution'spackages/core/src/space/roles.ts:242

On this page