diff options
author | zsloan | 2021-10-22 18:52:39 +0000 |
---|---|---|
committer | zsloan | 2021-10-22 18:53:24 +0000 |
commit | e8b6b4e99f7a4ea649dab0c5a7bf7695531e97d2 (patch) | |
tree | d5367e6cba54cbf5ef257328f0b86de17244697a /scripts | |
parent | b8f2df1f08c423923aeb72a1b2c2316e6da232dc (diff) | |
download | genenetwork2-e8b6b4e99f7a4ea649dab0c5a7bf7695531e97d2.tar.gz |
Include the admin privilege for the 'editors' group, since it wasn't being set before (which caused some problems)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/authentication/resource.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/authentication/resource.py b/scripts/authentication/resource.py index 4996f34c..1a2bcd8a 100644 --- a/scripts/authentication/resource.py +++ b/scripts/authentication/resource.py @@ -97,7 +97,8 @@ if __name__ == "__main__": for resource_id, resource in RESOURCES.items(): _resource = json.loads(resource) # str -> dict conversion _resource["group_masks"] = {args.group_id: {"metadata": "edit", - "data": "edit"}} + "data": "edit", + "admin": "edit-admins"}} REDIS_CONN.hset("resources", resource_id, json.dumps(_resource)) |