iroha icon indicating copy to clipboard operation
iroha copied to clipboard

[BUG]: Remove permission tokens from role on unregistration

Open Erigara opened this issue 1 year ago • 2 comments

Continuation of #3962.

I've just noticed that as well as removing token from account we should also remove tokens from roles.

Problem is that roles aren't mutable right now.

Erigara avatar Jan 30 '24 07:01 Erigara

  1. we can unregister and register a role
  2. we can make an internal update role isi

mversic avatar Jan 30 '24 07:01 mversic

  1. we can unregister and register a role

currently role is removed on unregistration from every account so we have to do a lot of bookkeeping to do that

  1. we can make an internal update role isi

and only allow execution from executor? maybe consider updating roles?

Erigara avatar Jan 30 '24 07:01 Erigara