aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-07-28 12:41:49 -0500
committerzsloan2020-07-28 12:41:49 -0500
commit92088d72ad284a664eb1a53127c13ca2e6b4f602 (patch)
tree865329d2fd50a48b1a8c340405cfb86060c97b91
parentf66da35a09cbb8da13cfb142cbe3ff208404970b (diff)
downloadgenenetwork2-92088d72ad284a664eb1a53127c13ca2e6b4f602.tar.gz
Setting owner to None since super-users should allow for people like Rob or me to edit resource owners
-rw-r--r--wqflask/utility/authentication_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/authentication_tools.py b/wqflask/utility/authentication_tools.py
index ed7462d1..deddaec3 100644
--- a/wqflask/utility/authentication_tools.py
+++ b/wqflask/utility/authentication_tools.py
@@ -45,7 +45,7 @@ def check_resource_availability(dataset, trait_id=None):
def add_new_resource(dataset, trait_id=None):
resource_ob = {
- 'owner_id' : webqtlConfig.DEFAULT_OWNER_ID,
+ 'owner_id' : "None",
'default_mask': webqtlConfig.DEFAULT_PRIVILEGES,
'group_masks' : {}
}