Skip to content

Illustrate the evolution of ownership over objects during bootstrapping #443

@6r1d

Description

@6r1d

There's a repeating (1, 2) question from Matias regarding the assets and the access rights:

I've set up a new network with 4 nodes using docker-compose.stable.yml as template. Everything seems to work fine, but I noticed that I'm not able to mint assets with a user that didnt created the asset definition for that asset.

When I checked who was the owner of the asset definitions, I noticed that it was the genesis user. These are assets that I defined in the genesis.json file.

Is that how it is supposed to work? Or can I have those assests definitions setup by a different user when I setup the network?

The previous question was about minting and the answer is pretty similar:

The asset definition owner, i.e. the account registering the asset definition, can burn assets in possession of any user with the default permissions.

You can write a custom executor to alter that behaviour, too.

I wonder if we can have some doc section about rights for the assets and what to add here?

Metadata

Metadata

Assignees

Labels

A-importantHigh-impact, important changeI-conceptsCore Iroha concepts (data model, operations, mechanics)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions