diff options
author | Frederick Muriuki Muriithi | 2022-11-15 12:55:06 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-15 12:55:06 +0300 |
commit | 1f37de222e3f93908f2db3dfef33740aea3c828c (patch) | |
tree | af8db79dc8f84c9e678bc9cbccb65c39588530ac /tests/unit/computations/test_diff.py | |
parent | a0e654fe11bc5ccd346019bc5785c3791012a7df (diff) | |
download | genenetwork3-1f37de222e3f93908f2db3dfef33740aea3c828c.tar.gz |
auth: Specify types for privileges, roles, groups
Use specified types for privileges, roles and types rather than using strings
to help with limiting bugs.
* gn3/auth/authorisation/groups.py: Specify and use the `Group` type
* gn3/auth/authorisation/privileges.py: Specify and use the `Privilege` type
* gn3/auth/authorisation/roles.py: Specify the `Role` type. Add the
`create_role` function.
Diffstat (limited to 'tests/unit/computations/test_diff.py')
0 files changed, 0 insertions, 0 deletions