Skip to content

This page lists user fields and role naming guidance. For the concept, see Users and roles.

User fields

FieldTypeRequiredDescription
idUUID stringYesUnique user identifier.
aliasstringYesHuman-readable user name, often an email or username.
publicKeystringYesPublic key used for signing and authentication.
lockenumYesUnlocked or Locked.
rolesstring arrayYesRole names on the user, set by genesis, user invitation, v0_CreateUser, or v0_UpdateUser.
loginIdsarrayNoLogin provider identifiers. Include internal harmonize login and any configured external identity providers.
descriptionstringNoUser description.
customPropertiesobjectYesString key-value metadata. Use {} when empty.

Role naming

Use role names that are stable, descriptive, and consistent. You do not create roles as separate governed resources; you can define a role name whenever you use it in users, policies, or domain read access.

Valid styleAvoid
policy-operatorPolicyOperator
transaction-operatortransaction_operator
complianceCompliance Team

Role names used in policies must match user role assignments exactly. In the standard governed user-management flow, assigning a role name to a user or changing a user's roles requires an approved v0_CreateUser or v0_UpdateUser intent.

Role assignment lifecycle

StageBehavior
Define a role nameUse the role-name string in a user, policy, or domain read access configuration.
Assign during genesisInclude the role name in the genesis user's roles array.
Assign through invitationInclude the role name in the invitation user object's roles array.
Assign through user intentSubmit and approve a v0_CreateUser or v0_UpdateUser intent.
Remove from a userSubmit and approve a v0_UpdateUser intent with the updated roles array.

Lock values

ValueBehavior
UnlockedUser can act according to roles and policies.
LockedUser cannot create or approve intents.

Known role planning fields

When documenting a role model, record:

FieldPurpose
Role nameExact string used in policies and users.
DomainWhere users with the role operate.
Maker workflowsIntents the role can create.
Checker workflowsWorkflows the role can approve.
Minimum usersNumber of users required to satisfy quorum.
Read accessObjects the role can view.

For examples, see User and role examples.