Add configuration option for default permission to create Organizations (#1686)

This commit is contained in:
Lauris BH 2017-05-08 22:51:53 +03:00 committed by Kim "BKC" Carlbäcker
parent a85c5ab9ff
commit 51d0becb42
13 changed files with 27 additions and 5 deletions

3
conf/app.ini vendored
View file

@ -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.