diff options
author | Frederick Muriuki Muriithi | 2023-04-25 10:00:40 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-25 10:00:40 +0300 |
commit | 9556a73c3b0a9419cc20f3beb26ae9260ec64d88 (patch) | |
tree | c371a92769da811c568594e504df9b1904e33c0a /gn3 | |
parent | 27ab5b141e3cdb6ca83c551c163cd9fd3008ad3c (diff) | |
download | genenetwork3-9556a73c3b0a9419cc20f3beb26ae9260ec64d88.tar.gz |
auth: bug: Provide missing `user_editable` argument.
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/auth/authorisation/resources/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/resources/views.py b/gn3/auth/authorisation/resources/views.py index 7b647d3..c8bff6a 100644 --- a/gn3/auth/authorisation/resources/views.py +++ b/gn3/auth/authorisation/resources/views.py @@ -132,7 +132,7 @@ def resource_users(resource_id: uuid.UUID): uuid.UUID(row["group_role_id"]), resource.group, Role(uuid.UUID(row["role_id"]), row["role_name"], - tuple())) + bool(int(row["user_editable"])), tuple())) return { **users_n_roles, user_id: { |