harness / gitness

Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery.
https://gitness.com
Apache License 2.0
32.09k stars 2.8k forks source link

[Feature request] User Registration control #3391

Closed MarioGK-AutoSystem closed 11 months ago

MarioGK-AutoSystem commented 11 months ago

Can we have a feature to disable user registration and only allow manually registered users?

johannesHarness commented 11 months ago

Hey @MarioGK-AutoSystem, thank you for your feedback :)

You can already do that today by starting Gitness with the following environment variable: GITNESS_USER_SIGNUP_ENABLED=false

The the first user on the system can sign-up as normal. Any further user signup will be blocked, and they have to be added manually by an administrator.

We'll also add this to our documentation, soon.