stablecoin-studio icon indicating copy to clipboard operation
stablecoin-studio copied to clipboard

[CLI][UI] As a user, I want to avoid to remove any role from the StableCoin creator

Open darius279 opened this issue 3 years ago • 0 comments

Context

In order to avoid that the stable coin creator could have no roles, we should avoid it.

Description

If some user try to remove some role from the token creator, this operation should report an error.

Acceptance criteria

  • Given a stable coin created by me and all operation were managed by the SC, If I try to remove my cash in role, burn, rescue or wipe role, an error is displayed.
  • Given a stable coin created by me and all operation were managed by the SC, If I try to remove from an user, who previously have been granted all the roles, the cash in role, burn, rescue or wipe role, the operations should finish successfully.

darius279 avatar Oct 25 '22 15:10 darius279