Skip to content
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

Merged
merged 7 commits into from
Aug 22, 2022
Merged

Conversation

pifragile
Copy link
Contributor

node side of encointer/pallets#255

@pifragile pifragile requested a review from clangenb August 10, 2022 13:42
@@ -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>;
Copy link
Member

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

Copy link
Member

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

Copy link
Contributor Author

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently yes

Copy link
Member

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 pifragile requested a review from brenzi August 15, 2022 08:53
@brenzi
Copy link
Member

brenzi commented Aug 20, 2022

@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

Copy link
Member

@brenzi brenzi left a 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

@brenzi brenzi merged commit b815631 into master Aug 22, 2022
@clangenb clangenb deleted the trustable-community-origin branch November 20, 2022 10:43
@clangenb clangenb restored the trustable-community-origin branch November 20, 2022 10:43
@clangenb clangenb deleted the trustable-community-origin branch November 20, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants