about summary refs log tree commit diff
path: root/gn_auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-07-29 10:37:30 -0500
committerFrederick Muriuki Muriithi2025-07-29 10:38:19 -0500
commit10fe4b01afeffa524ee06c1d5e07396269c8b7ea (patch)
treed3bd5623c8b7a5132d66aadf5ffeee0abecd385d /gn_auth
parent5c0b9077320d62ac26685dc37291c18d3670fb98 (diff)
downloadgn-auth-10fe4b01afeffa524ee06c1d5e07396269c8b7ea.tar.gz
Assign now system-wide resource-access privileges to sysadmins.
Diffstat (limited to 'gn_auth')
-rw-r--r--gn_auth/auth/authorisation/resources/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/views.py b/gn_auth/auth/authorisation/resources/views.py
index b52e972..ed118cd 100644
--- a/gn_auth/auth/authorisation/resources/views.py
+++ b/gn_auth/auth/authorisation/resources/views.py
@@ -684,7 +684,6 @@ def delete_resource() -> Response:
         form = request_json()
         try:
             resource_id = UUID(form.get("resource_id"))
-            # TODO Add migrations to grant privileges (system:resource:*) to admin users
             # TODO Update resource creation to grant privileges (system:resource:*) to admin users
             # TODO Update user-levels promotion/demotion to grant/revoke (system:resource:*) to/from admin users
             if not authorised_for_spec(