about summary refs log tree commit diff
path: root/gn_auth/auth
diff options
context:
space:
mode:
authorClaude2026-08-31 00:00:00 +0000
committerFrederick Muriuki Muriithi2026-08-31 14:50:23 -0500
commit003330170e8a40060acbceee22f7d1d6a0403c60 (patch)
tree63f455b35d4e38779ed3c0c1e80e55fa9c42e8f0 /gn_auth/auth
parent983085de3eb298c8629285ed111536c119c416a7 (diff)
downloadgn-auth-003330170e8a40060acbceee22f7d1d6a0403c60.tar.gz
refactor(auth): remove deprecated /auth/system/roles registration
All consumers have been updated to use /auth/resource/system/roles.
Remove the legacy oauth2.register_blueprint(system, url_prefix="/system")
registration and its accompanying import from views.py.

The /auth/resource/system/roles path remains live via the existing
resources.register_blueprint(system, ...) in resources/views.py.
Diffstat (limited to 'gn_auth/auth')
-rw-r--r--gn_auth/auth/views.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/gn_auth/auth/views.py b/gn_auth/auth/views.py
index cee92e7..383dc9f 100644
--- a/gn_auth/auth/views.py
+++ b/gn_auth/auth/views.py
@@ -14,10 +14,6 @@ from .authorisation.resources.groups.views import groups
 from .system.views import systembp
 
 
-# T0DO: Remove this once consumers are changed
-from .authorisation.resources.system.views import system
-
-
 oauth2 = Blueprint("oauth2", __name__)
 
 oauth2.register_blueprint(auth, url_prefix="/")
@@ -29,8 +25,3 @@ oauth2.register_blueprint(groups, url_prefix="/group")
 oauth2.register_blueprint(resources, url_prefix="/resource")
 oauth2.register_blueprint(privileges, url_prefix="/privileges")
 oauth2.register_blueprint(systembp, url_prefix="/system")
-
-
-
-# T0DO: Remove this once consumers are changed
-oauth2.register_blueprint(system, url_prefix="/system")