From 0009f9553c3b63460f2c5b1b4adfdc8daf9b229a Mon Sep 17 00:00:00 2001 From: Pedro Crespo-Valero <32402063+pcrespov@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:04:08 +0100 Subject: [PATCH] fix query --- .../server/src/simcore_service_webserver/groups/_groups_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/server/src/simcore_service_webserver/groups/_groups_db.py b/services/web/server/src/simcore_service_webserver/groups/_groups_db.py index b1ebe513410..9935ded1d90 100644 --- a/services/web/server/src/simcore_service_webserver/groups/_groups_db.py +++ b/services/web/server/src/simcore_service_webserver/groups/_groups_db.py @@ -147,7 +147,7 @@ def _list_user_groups_with_read_access_query(*group_selection, user_id: UserID): ) .where( (user_to_groups.c.uid == user_id) - & (user_to_groups.c.access_rights["read"].is_(True)) + & (user_to_groups.c.access_rights["read"].astext == "true") ) )