-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Invites don't work when registration is disabled #1706
Comments
thanks for reporting @sergioisidoro! this is expected behavior when registrations are disabled. |
How can I invite ppl without allowing anyone to register ? |
@ukutaht could you reopen this? Is it possible to sponsor fixing this to get it out there to self hosting? |
We keep the issue tracker for unambiguous bugs only. I think this one is on the line between a feature request and a bug report - the system works as designed but the design is too inflexible. Based on this I'll keep this issue closed and treat it as a feature request.
Not with the core team but we might find contributors who would be willing to work for a bounty. @Vigasaurus interested? |
Yeah, potentially. I haven't looked much at that part of the codebase, but @jesperordrup feel free to reach out via email and we can figure something out. |
Ok, I've emailed @Vigasaurus and hopefully we get it done. It only makes sense if you're willing to make a release just after test success? Also this is what I believe is required in high level description:
|
Sorry for bumping this. :) Has there been any progress on this front? I just ended up in the same situation - trying to invite someone to a project with general registration being closed. IMHO it makes a lot of sense to have the option of an invite-only instance. We want to invite team members but not allow anybody to register and add sites at random. |
Wonderful, thanks so much! |
Should this be added to the README? |
@stefanv 👋 It'd probably not make it to the README since it's not (just) about self-hosting, but I'll open a PR into https://github.com/plausible/docs to update https://plausible.io/docs/self-hosting-configuration#server with UPDATE plausible/docs#350 |
Thanks @ruslandoga! |
Past Issues Searched
Issue is a Bug Report
Describe the bug
When registration is disabled, it's not possible to invite people to Plausible. To invite someone to the platform we need to change the environment variable, invite people, and then re-enable the flag to prevent unauthorised people from creating accounts.
Expected behavior
While the behaviour is understandable, if a user has a valid invite it should still be possible to register to plausible instance.
The feature for disabling registration (#86), I thought, was just to prevent random people from creating accounts in the landing page.
Alternatively, we could just add a note in the docs, mentioning that this also applies to valid invites :)
Screenshots
No response
Environment
No response
The text was updated successfully, but these errors were encountered: