forgejo users can't create repos anymore
This commit is contained in:
parent
7194b66622
commit
765871000f
1 changed files with 10 additions and 0 deletions
|
|
@ -158,6 +158,16 @@ in {
|
||||||
service = {
|
service = {
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Prevent users from creating repositories and orginizations
|
||||||
|
repository = {
|
||||||
|
MAX_CREATION_LIMIT = 0;
|
||||||
|
DISABLE_MIGRATION = true;
|
||||||
|
};
|
||||||
|
admin = {
|
||||||
|
DISABLE_REGULAR_ORG_CREATION = true;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue