Self Hosted - Permission Added for Community Creation

(#1232) Feature Shipped community self-hosting

Problem

First - thank you to the dev/devs that created this app. The world is turning in to a major --- sell your data hell hole. Thank you! This isn't really a problem as a request: Request: In self hosted - it would be nice to set who can create Communities within the instance. IE disallow newbies or unknown people from coming in and creating communities of there own. Example, my son has a ton of friends that use Discord, and I want to move him and them over to this. But I don't want them creating 100's of Communities or Servers and filling it with Junk. It would be nice to be able to block them from making there own and only being able to join communities within the Instance. If this was posted, please forgive me. I did try to search for it, but I didn't see anything even close to this. Thank you!

Proposal

Within the Self Hosted Fluxer Admin page: create a permission page that allows other admins to be created, controlled. Allowing and disallowing Communities to be created by unknown people unless given a permission or added to a group. I would consider this a step above a Single Community in regards to "allowed permissions". Consider this a Friend zone Instance if that makes sense. Single Community - Single One Community Server/Instance None Single Community - This permission creates both worlds:
  • Friend-Zone Community - Multi Community Server but permissions control who can create Communities and Who Can't. New People can join existing communities, but they cannot create new ones.
  • Current Community Setup - Anyone can create Communities on the Instance

5 comments

Sign in with Fluxer to comment and vote.
Comment by @AgarthanEST
RexSystem 1 vote originally by @AgarthanEST on GitHub
Bumping this. Would be an absolutely huge improvement.
Comment by @snappyapple632
RexSystem 1 vote originally by @snappyapple632 on GitHub
As I wish to create a more "curated" instance where people have to submit an application form to create a community (to prevent abuse), please please please!
Comment by Hampus
HampusStaff 1 vote originally by @hampus-fluxer on GitHub
This is now available on self-hosted instances as of #3055.. In the admin panel, go to "Instance config" → "Community creation" and set "Who can create communities" to "Restricted". From then on, only admins with the wildcard ACL and users matched by a limit rule that grants "Community Creation Access" can create communities. Everyone else gets a "You don't have permission to create communities on this instance" error, enforced server-side. To let specific people create communities, give those users a trait on their admin user page, then add a rule under "Limit config" that matches that trait and turns on "Community Creation Access".