Skip to content

Commit 9b6df59

Browse files
matusdrobuliak66pcrespovmrnicegyu11
authored
🐛 fix filtering when project shared with product groups (#6379)
Co-authored-by: Pedro Crespo-Valero <[email protected]> Co-authored-by: Dustin Kaiser <[email protected]>
1 parent 4ed5831 commit 9b6df59

File tree

1 file changed

+1
-4
lines changed
  • services/web/server/src/simcore_service_webserver/projects

1 file changed

+1
-4
lines changed

services/web/server/src/simcore_service_webserver/projects/_db_utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@ async def _list_user_groups(
131131
result = await conn.execute(
132132
select(groups)
133133
.select_from(groups.join(user_to_groups))
134-
.where(
135-
(user_to_groups.c.uid == user_id)
136-
& (user_to_groups.c.access_rights["read"].astext == "true")
137-
)
134+
.where(user_to_groups.c.uid == user_id)
138135
)
139136
user_groups = await result.fetchall() or []
140137
return user_groups

0 commit comments

Comments
 (0)