An option to disable registration in self-hosted setup #235
Replies: 8 comments
-
Hi, thank you for the feature request. That's a good point, we'll look into that. I'm not quite sure how we can best handle the initial user registration, as well as adding new users, in that case. My initial thoughts: We could either do a setting in the admin panel somewhere, or it would be an environment variable. If anyone has input feel free to add it in the comments to this issue. |
Beta Was this translation helpful? Give feedback.
-
Environment variable should be sufficient in this case |
Beta Was this translation helpful? Give feedback.
-
I agree that an env would be enough; this is how Gitea does it. They do have an registration (or rather user creation) view for the admin, which would require additional consideration for solidtime:
Another approach that I think would be similar in effort required is a Slack-like |
Beta Was this translation helpful? Give feedback.
-
Isn't there already a "new user" creation functionality for admins in Solidtime as well? I can see one in |
Beta Was this translation helpful? Give feedback.
-
@thelazyoxymoron yes you can create users, but I'm pretty sure you can break the application with that right now, as in our regular flow you'll always have a organization as well, and basically everything happens in the organization. Not sure if you can assign users to organizations via the admin panel right now and if email confirmation stuff works correctly in that case. But the bigger blocker is that you need to register an account to access the admin panel first, so we have to create some flow for that to set up an initial user. |
Beta Was this translation helpful? Give feedback.
-
We decided to move feature requests into github discussions, to separate feature requests from bugs and allow for better prioritization. If this feature is important to you, you can upvote it to let us know. |
Beta Was this translation helpful? Give feedback.
-
I was also looking into a way to disable the user registration, as I want to use solidtime with my "closed" user group and not have random people (or bots) signing up on the publicly available instance. An env variable would be definitely sufficient, whereas new users could be invited from the organization panel. |
Beta Was this translation helpful? Give feedback.
-
I think, that that is not actually a blocker. A viable work-around would be to create the instance, register as an user and then set the env variable or the option to disable any new registrations. Of course, having an actual flow for that would be great. Maybe as a cli command like |
Beta Was this translation helpful? Give feedback.
-
Would love to have an option to disable user registrations
Beta Was this translation helpful? Give feedback.
All reactions