From ac76839f1cadbbc647c9772b3fdd4d496587b400 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 22 Sep 2023 09:36:02 +0300 Subject: Initialise package to handle resources of type "system". --- gn_auth/auth/views.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn_auth/auth/views.py') diff --git a/gn_auth/auth/views.py b/gn_auth/auth/views.py index cd1cb6f..1060ea9 100644 --- a/gn_auth/auth/views.py +++ b/gn_auth/auth/views.py @@ -9,6 +9,7 @@ from .authorisation.users.admin import admin from .authorisation.roles.views import roles from .authorisation.resources.views import resources from .authorisation.resources.groups.views import groups +from .authorisation.resources.system.views import system oauth2 = Blueprint("oauth2", __name__) @@ -18,4 +19,5 @@ oauth2.register_blueprint(users, url_prefix="/user") oauth2.register_blueprint(roles, url_prefix="/role") oauth2.register_blueprint(admin, url_prefix="/admin") oauth2.register_blueprint(groups, url_prefix="/group") +oauth2.register_blueprint(system, url_prefix="/system") oauth2.register_blueprint(resources, url_prefix="/resource") -- cgit v1.2.3