Fix the super user default config. Slight style tweaks to the super user permission implementation.
This commit is contained in:
parent
73f23f155c
commit
0fd5da172e
2 changed files with 6 additions and 5 deletions
|
@ -124,8 +124,8 @@ class DefaultConfig(object):
|
|||
STATUS_TAGS[tag_name] = tag_svg.read()
|
||||
|
||||
|
||||
# Super user config. Note: This MUST BE None for the default config.
|
||||
SUPER_USERS = None
|
||||
# Super user config. Note: This MUST BE an empty list for the default config.
|
||||
SUPER_USERS = []
|
||||
|
||||
# Feature Flag: Whether billing is required.
|
||||
FEATURE_BILLING = True
|
||||
|
@ -137,7 +137,7 @@ class DefaultConfig(object):
|
|||
FEATURE_GITHUB_LOGIN = True
|
||||
|
||||
# Feature flag, whether to enable olark chat
|
||||
FEATURE_OLARK_CHAT = True
|
||||
FEATURE_OLARK_CHAT = False
|
||||
|
||||
# Feature Flag: Whether super users are supported.
|
||||
FEATURE_SUPER_USERS = False
|
||||
|
|
Reference in a new issue