Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Dec 10, 2024
1 parent b50842b commit 0009f95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
)

Expand Down

0 comments on commit 0009f95

Please sign in to comment.