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 /migrations/auth/20230306_02_7GnRY-add-system-user-list-privilege-to-system-administrator-and-group-leader-roles.py | |
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 'migrations/auth/20230306_02_7GnRY-add-system-user-list-privilege-to-system-administrator-and-group-leader-roles.py')
0 files changed, 0 insertions, 0 deletions