From 7d28affb779cc76a258b326fa501562fbae9067e Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 9 Oct 2023 12:50:31 +0300 Subject: 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. --- 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 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") -- cgit v1.2.3