summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-05-08 22:51:53 +0300
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-05-08 21:51:53 +0200
commit51d0becb4232eab6b18959ccc4a895e5df30c4dc (patch)
treed119ca2bef3ca44147801cd57e4cf2190690f65a /conf
parenta85c5ab9ff60dab58b2bf713479460caac8e9567 (diff)
downloadgitea-51d0becb4232eab6b18959ccc4a895e5df30c4dc.tar.gz
gitea-51d0becb4232eab6b18959ccc4a895e5df30c4dc.zip
Add configuration option for default permission to create Organizations (#1686)
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index b1eb953cdf..47fd4b1182 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -240,6 +240,9 @@ ENABLE_CAPTCHA = true
; Default value for KeepEmailPrivate
; New user will get the value of this setting copied into their profile
DEFAULT_KEEP_EMAIL_PRIVATE = false
+; Default value for AllowCreateOrganization
+; New user will have rights set to create organizations depending on this setting
+DEFAULT_ALLOW_CREATE_ORGANIZATION = true
; Default value for the domain part of the user's email address in the git log
; if he has set KeepEmailPrivate true. The user's email replaced with a
; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.