From 9556a73c3b0a9419cc20f3beb26ae9260ec64d88 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 25 Apr 2023 10:00:40 +0300 Subject: auth: bug: Provide missing `user_editable` argument. --- gn3/auth/authorisation/resources/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: { -- cgit v1.2.3