diff options
author | Frederick Muriuki Muriithi | 2023-04-27 06:33:34 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-27 06:46:48 +0300 |
commit | f2c09dc2dc2528c75fcf5b80aa4b530a0b5eef08 (patch) | |
tree | 0f103dd33c241d78ab5b5625f875527d18db92e5 /gn3/auth/authentication/oauth2/models | |
parent | 12e9f87753d5ef0d3343a2a92a824f2ace696e4e (diff) | |
download | genenetwork3-f2c09dc2dc2528c75fcf5b80aa4b530a0b5eef08.tar.gz |
auth: Retrieve `system:*` privileges from resource roles
With the assignment of `system:*` privileges to roles, we need to check for
their existence when doing authorisation.
This commit provides a hack for that, seeing as user groups (and the system
itself) are not treated as resources, and therefore the way to fetch the
privileges is not entirely consistent.
Diffstat (limited to 'gn3/auth/authentication/oauth2/models')
0 files changed, 0 insertions, 0 deletions