feat: Able to disable non-admin to create new organization (#927)

This commit is contained in:
Bo-Yi Wu 2017-02-14 20:16:00 +08:00 committed by Lunny Xiao
parent 23aba523b5
commit d67b278a0d
7 changed files with 42 additions and 3 deletions

2
conf/app.ini vendored
View file

@ -163,6 +163,8 @@ ISSUE_INDEXER_PATH = indexers/issues.bleve
UPDATE_BUFFER_LEN = 20
[admin]
; Disable regular (non-admin) users to create organizations
DISABLE_REGULAR_ORG_CREATION = false
[security]
; Whether the installer is disabled