From 92088d72ad284a664eb1a53127c13ca2e6b4f602 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 28 Jul 2020 12:41:49 -0500 Subject: Setting owner to None since super-users should allow for people like Rob or me to edit resource owners --- wqflask/utility/authentication_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' : {} } -- cgit v1.2.3