Skip to content

api.entities.types.Permissions

prashantasdeveloper edited this page Sep 11, 2024 · 37 revisions

Interface: Permissions

api/entities/types.Permissions

Permissions a Secondary Key has over the Identity. A null value means the key has all permissions of that type (e.g. if assets is null, the key has permissions over all of the Identity's Assets)

Table of contents

Properties

Properties

assets

assets: null | SectionPermissions<FungibleAsset>

Assets over which this key has permissions

Defined in

api/entities/types.ts:640


portfolios

portfolios: null | SectionPermissions<NumberedPortfolio | DefaultPortfolio>

Defined in

api/entities/types.ts:654


transactionGroups

transactionGroups: TxGroup[]

list of Transaction Groups this key can execute. Having permissions over a TxGroup means having permissions over every TxTag in said group. Partial group permissions are not covered by this value. For a full picture of transaction permissions, see the transactions property

NOTE: If transactions is null, ignore this value

Defined in

api/entities/types.ts:652


transactions

transactions: null | TransactionPermissions

Transactions this key can execute

Defined in

api/entities/types.ts:644

Clone this wiki locally