Permission

A single permission that represents the relation between an app role and an entity.

Properties

NameTypeDescription

allowed

Boolean

Whether the entity is allowed for the permission.

appAddress

String

App address.

granteeAddress

String

Entity address receiving the permission.

params

ParamData[]

An array of ParamData. It contains the argumentId, operationType and argumentValue of each paramenter as described in Parameter interpretation.

roleHash

String

Encoded identifier for the role.

Methods

getApp()

NameTypeDescription

returns

App

App instance corresponding to the app address.

getRole()

NameTypeDescription

returns

Role

Role instance corresponding to the role identifier.

Last updated