Skip to main content

RolePermissionsEntry

@iota/audit-trails API documentation


Class: RolePermissionsEntry

Flattened role entry exposed inside RoleMap.

Properties

name

name: string

Role name.


permissions

permissions: any[]

Permissions granted by the role.

Accessors

roleTags

Get Signature

get roleTags(): RoleTags | undefined

Optional role-scoped record-tag restrictions.

Returns

RoleTags | undefined

Set Signature

set roleTags(value): void

Optional role-scoped record-tag restrictions.

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