Open joepetrowski opened 2 years ago
I see this issue is not solved yet. Can i go ahead to open a PR for it? @joepetrowski @vieira-giulia
@dharjeezy Hey, yea I do have a branch for it, figuring out what this implies in the rest of the pallet and tests, just having some problems with my computer to run things. Anyway, I remember hearing you talk you already had this change implemented for another reason in another branch so if you just want to open a PR that's fine for me
This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/preventing-attacks-on-xcm-reserves/902/5
@dharjeezy Hey, yea I do have a branch for it, figuring out what this implies in the rest of the pallet and tests, just having some problems with my computer to run things. Anyway, I remember hearing you talk you already had this change implemented for another reason in another branch so if you just want to open a PR that's fine for me
Alright @vieira-giulia i have gone ahead to open the PR
could be also enum, {Root, Account(who)}, which can be extended later if needed
Removing ownership priviledge is a common practice in some coin like meme coin for instance.
Actually I am only interested in a feature to revoke every priviledge, I feel like revoking only mint, or only freezer, or only admin is not really useful.
2 implementation:
LiveAndNotOwned
.
doesn't break the storage, frontend only needs to handle this new status.Good point about the easy implementation, None
roles for anyone but the owner is kind of meaningless. I would maybe go for something more like LiveAndLocked
as a status.
Change the privileged asset roles from
AccountId
toOption<AccountId>
. When theowner
is set toNone
, only governance would be able to restore the role.For discussion, if
owner
isSome
, and they want to set a lower rank role fromNone
toSome
, should that require governance?This would look similar to the
PoolRoles
struct in Nomination Pools._Originally posted by @joepetrowski in https://github.com/paritytech/substrate/pull/12310#discussion_r982367220_