aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-27 06:33:34 +0300
committerFrederick Muriuki Muriithi2023-04-27 06:46:48 +0300
commitf2c09dc2dc2528c75fcf5b80aa4b530a0b5eef08 (patch)
tree0f103dd33c241d78ab5b5625f875527d18db92e5 /main.py
parent12e9f87753d5ef0d3343a2a92a824f2ace696e4e (diff)
downloadgenenetwork3-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 'main.py')
0 files changed, 0 insertions, 0 deletions