aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-02-18 18:31:11 +0000
committerzsloan2021-02-18 18:31:11 +0000
commitb5c07c6a65dc8f342a5c5d65349aa5dfbf83862d (patch)
treed402312eff421900f2b8ed178f2be8eb9f7c7f49 /wqflask
parentf1f80b480ea0f71b7ea34f0b23ad136a56e1bc21 (diff)
downloadgenenetwork2-b5c07c6a65dc8f342a5c5d65349aa5dfbf83862d.tar.gz
Changed DEFAULT_PERMISSIONS AND SUPER_PERMISSIONS to not have permissions be lists (I think the proxy expects them to not be lists, but then returns them as lists; need to check about this)
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/webqtlConfig.py4
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