From 003330170e8a40060acbceee22f7d1d6a0403c60 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 31 Aug 2026 00:00:00 +0000 Subject: 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. --- gn_auth/auth/views.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gn_auth/auth') 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") -- cgit 1.4.1