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

Configurable "EnsureRank" origin to add/remove members #413

Open
olanod opened this issue Jun 14, 2024 · 0 comments
Open

Configurable "EnsureRank" origin to add/remove members #413

olanod opened this issue Jun 14, 2024 · 0 comments

Comments

@olanod
Copy link
Member

olanod commented Jun 14, 2024

The current runtime configuration for adding/removing members of a community uses the same origin(MemberMgmtOrigin = EitherOf<EnsureCommunity<Self>, EnsureCommunityAccount>) that is the same for every community, new members are added via community referendum or by the admin origin. It's fine in most cases but for bigger communities with no admin it can be cumbersome to run a referendum every time for a new member, e.g. a commercial community might want to add regular customers as members on signup without exposing that fact.

The more convenient thing to do is to trust certain members of the community to be able to on-board people freely. Ranks can be used to filter what sub-set of members of the community have the privilege to add new users. A default "Rank::MAX" basically means the setting is ignored, a very permissive community on the other hand can configure a "Rank::MIN" that allows anyone to add anyone else, note that we should have a different origin for removing members as communities with permissive policies for admission probably don't want provide the same freedom for removing anyone in the community.

@olanod olanod changed the title Community configurable origin for add/remove members Configurable "EnsureRank" origin to add/remove members Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant