diff options
author | Munyoki Kilyungi | 2024-03-21 10:10:46 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-03-21 10:19:19 +0300 |
commit | ccd4ee5405f6a302283bac80dee15919dd3c6ffe (patch) | |
tree | 586921c94b09267b04d1bef598157d634d37249f /setup_commands | |
parent | 7107b2b99058835bf0115955c3e79c23f9fb6bc9 (diff) | |
download | gn-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 'setup_commands')
0 files changed, 0 insertions, 0 deletions