aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/authentication/resource.py3
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))