aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-25 10:00:40 +0300
committerFrederick Muriuki Muriithi2023-04-25 10:00:40 +0300
commit9556a73c3b0a9419cc20f3beb26ae9260ec64d88 (patch)
treec371a92769da811c568594e504df9b1904e33c0a /gn3/auth
parent27ab5b141e3cdb6ca83c551c163cd9fd3008ad3c (diff)
downloadgenenetwork3-9556a73c3b0a9419cc20f3beb26ae9260ec64d88.tar.gz
auth: bug: Provide missing `user_editable` argument.
Diffstat (limited to 'gn3/auth')
-rw-r--r--gn3/auth/authorisation/resources/views.py2
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: {