aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/db
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-21 10:10:46 +0300
committerMunyoki Kilyungi2024-03-21 10:19:19 +0300
commitccd4ee5405f6a302283bac80dee15919dd3c6ffe (patch)
tree586921c94b09267b04d1bef598157d634d37249f /gn_auth/auth/db
parent7107b2b99058835bf0115955c3e79c23f9fb6bc9 (diff)
downloadgn-auth-ccd4ee5405f6a302283bac80dee15919dd3c6ffe.tar.gz
Add extra endpoint to get user authorisation given a resource name.
* gn_auth/auth/authorisation/resources/models.py (user_roles_on_resources): New function. * gn_auth/auth/authorisation/resources/views.py (resources_authorisation): New endpoint. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn_auth/auth/db')
0 files changed, 0 insertions, 0 deletions