aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/webqtlConfig.py
diff options
context:
space:
mode:
authorzsloan2021-02-18 16:58:18 +0000
committerzsloan2021-02-18 16:58:18 +0000
commit4dc8f3d24fe82239a8c3d229b7d4ef413a65498f (patch)
tree9a3efe30a849bb1ee64ac7244154d46d7474509b /wqflask/base/webqtlConfig.py
parent7b722f044c13d2f73652798aef2cb3387b24a1a6 (diff)
downloadgenenetwork2-4dc8f3d24fe82239a8c3d229b7d4ef413a65498f.tar.gz
Fixed SUPER_PRIVILEGES and DEFAULT_PRIVILEGES
Diffstat (limited to 'wqflask/base/webqtlConfig.py')
-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 862ac881..72d7ac98 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': ['no-access', 'view', 'edit'], 'metadata': ['no-access', 'view', 'edit'], 'admin': ['not-admin', 'edit-access', 'edit-admins']}
-DEFAULT_PRIVILEGES = {'data': ['no-access', 'view'], 'metadata': ['no-access', '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