diff options
author | Frederick Muriuki Muriithi | 2023-09-22 09:36:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-09-26 03:44:33 +0300 |
commit | ac76839f1cadbbc647c9772b3fdd4d496587b400 (patch) | |
tree | 7501622b2e1ea675c74c0b4ef7c3b7c06aa69920 /gn_auth/auth/views.py | |
parent | d57d13f3b82b5c981c4cadf0b74a0583a1535250 (diff) | |
download | gn-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.py | 2 |
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") |