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

Option to disable and/or restrict signups #392

Open
1 task done
DerLeole opened this issue Oct 24, 2024 · 2 comments
Open
1 task done

Option to disable and/or restrict signups #392

DerLeole opened this issue Oct 24, 2024 · 2 comments
Labels
type: feature-request New feature or request

Comments

@DerLeole
Copy link

🔖 Feature description

Add an option to the configuration to disable signup of new accounts and/or an option that restricts signup to certain email domains. This is a pretty standard feature for most self-hostable SAAS.

Additionally some kind of invite system could be created that allows Admins to invite users via email to sign up, even when general signup is disabled (ideally with an additional config option).

🎤 Why is this feature needed ?

For maxium usability some may want to expose their postiz deployment to the internet. This however allows anyone to just create and account and use my deployment and my connected integrations, which they might not want. So an option to disable new signups or restrict them to a certain email domain (or similar) would do wonders.

✌️ How do you aim to achieve this?

Add a couple new config options:

  • DISABLE_SELF_SIGNUP (boolean)
  • RESTRICT_SELF_SIGNUP_EMAILS (comma seperated string of emails or domains) (overwritten by DISABLE_SELF_SIGNUP)
  • DISABLE_INVITES (boolean) (overwrites both other options)

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@DerLeole DerLeole added the type: feature-request New feature or request label Oct 24, 2024
@Dkghuser
Copy link

Hello @DerLeole , I find it as an interesting issue to work on. I would like to work on this issue. Please assign this issue to me.
/assign

@D1reW0lf
Copy link

Indeed, that's an essential feature for those trying to self-host, like myself.
I have a rather small and slow VPS, no way I can afford to support random users registering and using the services that I host there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants