-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add TrustableForNonDestructiveAction #248
Conversation
runtime/src/lib.rs
Outdated
@@ -440,6 +440,7 @@ impl pallet_encointer_ceremonies::Config for Runtime { | |||
impl pallet_encointer_communities::Config for Runtime { | |||
type Event = Event; | |||
type CommunityMaster = EnsureRoot<AccountId>; | |||
type TrustableForNonDestructiveAction = EnsureRoot<AccountId>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is meant to be 'EnsureSigned' AKA 'anyone who pays fees' because in the case of solochains (Gesell) we want to be permissive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please test in CI e2e that anyone can register a community
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh ok, i wasn't sure about that and i wanted to be conservative with security :) does that generally mean that everything in node/runtime
will only ever be run on testnets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is true only for the node though. The parachain is productive by default.
@pifragile please ensure that your branch is up to date when you request my review. I first want to see CI passing respective to master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's merge this. I'll want to change the behaviour of cli and bot-community scripts, but not in this PR
node side of encointer/pallets#255