diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/base/webqtlConfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/webqtlConfig.py b/wqflask/base/webqtlConfig.py index 72d7ac98..aee8616a 100644 --- a/wqflask/base/webqtlConfig.py +++ b/wqflask/base/webqtlConfig.py @@ -18,8 +18,8 @@ DEBUG = 1 USERDICT = {'guest':1,'user':2, 'admin':3, 'root':4} #Set privileges -SUPER_PRIVILEGES = {'data': ['edit'], 'metadata': ['edit'], 'admin': ['edit-admins']} -DEFAULT_PRIVILEGES = {'data': ['view'], 'metadata': ['view'], 'admin': ['not-admin']} +SUPER_PRIVILEGES = {'data': 'edit', 'metadata': 'edit', 'admin': 'edit-admins'} +DEFAULT_PRIVILEGES = {'data': 'view', 'metadata': 'view', 'admin': 'not-admin'} #minimum number of informative strains KMININFORMATIVE = 5 |