diff options
| author | Frederick Muriuki Muriithi | 2024-06-10 15:22:20 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2024-06-10 16:45:12 -0500 |
| commit | fa7452e4f08352526257d1f0dc5181302a55d3e2 (patch) | |
| tree | 2a62f5f94d0da4808b469becff71e9ebb62784a9 /gn_auth/auth/views.py | |
| parent | 99023088e70c6db684785ab6a1a8b11331058efd (diff) | |
| download | gn-auth-fa7452e4f08352526257d1f0dc5181302a55d3e2.tar.gz | |
Provide some endpoints for privileges.
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 cf5c45f..17fc94b 100644 --- a/gn_auth/auth/views.py +++ b/gn_auth/auth/views.py @@ -8,6 +8,7 @@ from .authorisation.users.views import users from .authorisation.users.admin import admin from .authorisation.roles.views import roles from .authorisation.resources.views import resources +from .authorisation.privileges.views import privileges from .authorisation.resources.groups.views import groups from .authorisation.resources.system.views import system from .authorisation.resources.inbredset.views import iset @@ -22,4 +23,5 @@ 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") +oauth2.register_blueprint(privileges, url_prefix="/privileges") oauth2.register_blueprint(iset, url_prefix="/resource/inbredset") |
