Explain open registration setting (#361)

This commit is contained in:
Anbraten
2021-09-26 16:33:55 +02:00
committed by GitHub
parent 07d793f727
commit ecc5f24fec

View File

@@ -2,9 +2,10 @@
## User registration
Registration is closed by default.
Registration is closed by default. While disabled an administrator needs to add new users manually (exp. `woodpecker-cli user add`).
This example enables open registration for users that are members of approved GitHub organizations.
If registration is open every user with an account at the configured [SCM](docs/administration/vcs/overview) can login to Woodpecker.
This example enables open registration for users that are members of approved organizations:
```diff
services:
@@ -39,7 +40,6 @@ services:
- WOODPECKER_SECRET=${WOODPECKER_SECRET}
```
## Filtering repositories
Woodpecker operates with the user's OAuth permission. Due to the coarse permission handling of GitHub, you may end up syncing more repos into Woodpecker than preferred.