Skip to main content

RoleUpdated

@iota/audit-trails API documentation


Class: RoleUpdated

Event payload emitted when a role is updated.

Properties

permissions

permissions: PermissionSet

Updated permissions for the role.


role

role: string

Role name.


timestamp

timestamp: bigint

Millisecond event timestamp.


trailId

trailId: string

Trail object ID that owns the role.


updatedBy

updatedBy: string

Address that updated the role.

Accessors

roleTags

Get Signature

get roleTags(): RoleTags | undefined

Updated record-tag restrictions, if any.

Returns

RoleTags | undefined

Set Signature

set roleTags(value): void

Updated record-tag restrictions, if any.

Parameters
value

RoleTags | null | undefined

Returns

void

Methods

toJSON()

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object


toString()

toString(): string

Return stringified version of self.

Returns

string