diff options
author | Frederick Muriuki Muriithi | 2023-10-09 12:50:31 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-10-09 12:50:31 +0300 |
commit | 7d28affb779cc76a258b326fa501562fbae9067e (patch) | |
tree | 67640e4393e160c7caf63c63d06a1335503d9aff /gn_auth/auth/views.py | |
parent | 14bd560cd8c4c7e6574f30a8d0bcab268d557b07 (diff) | |
download | gn-auth-7d28affb779cc76a258b326fa501562fbae9067e.tar.gz |
Fetch InbredSet group resource ID by SpeciesId and InbredSetId
Get the resource used to control access to the InbredSet group by that
group's SpeciesId and InbredSetId.
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 1060ea9..cf5c45f 100644 --- a/gn_auth/auth/views.py +++ b/gn_auth/auth/views.py @@ -10,6 +10,7 @@ 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 +from .authorisation.resources.inbredset.views import iset oauth2 = Blueprint("oauth2", __name__) @@ -21,3 +22,4 @@ 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(iset, url_prefix="/resource/inbredset") |