KiraCore / sekai

backend - blockchain application
Other
18 stars 17 forks source link

Missing Controllers Blacklisting Flags in DApp Create and Upset proposal CLI #667

Open kmlbgn opened 4 months ago

kmlbgn commented 4 months ago

Description

Currently proposal-upsert-dapp and create-dapp-proposal CLI for creating or editing a DApp lack controller address blacklist flags.

Expected Behaviour

The blacklist feature is handy in situations where there's a need to exclude one or a few addresses from a role, since roles can be used as controllers. Relevant flags should be added and existing flags should be edited like so:

FlagControllerWhitelistRoles    = "controller-whitelist-roles"
FlagControllerWhitelistAccounts = "controller-whitelist-accounts"
FlagControllerBlacklistRoles    = "controller-blacklist-roles"
FlagControllerBlacklistAccounts = "controller-blacklist-accounts"