aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/views.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-09-22 09:36:02 +0300
committerFrederick Muriuki Muriithi2023-09-26 03:44:33 +0300
commitac76839f1cadbbc647c9772b3fdd4d496587b400 (patch)
tree7501622b2e1ea675c74c0b4ef7c3b7c06aa69920 /gn_auth/auth/views.py
parentd57d13f3b82b5c981c4cadf0b74a0583a1535250 (diff)
downloadgn-auth-ac76839f1cadbbc647c9772b3fdd4d496587b400.tar.gz
Initialise package to handle resources of type "system".
Diffstat (limited to 'gn_auth/auth/views.py')
-rw-r--r--gn_auth/auth/views.py2
1 files changed, 2 insertions, 0 deletions
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")