Skip to content

Commit 3af0640

Browse files
fix
1 parent 65fa890 commit 3af0640

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/storage/src/simcore_service_storage/modules/db/access_layer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ async def _list_user_projects_access_rights_with_read_access(
183183
projects_access_rights = []
184184

185185
async for row in await connection.stream(combined_query):
186-
assert isinstance(row.access_rights, dict) # nosec
187186
assert isinstance(row.uuid, str) # nosec
188187

189188
projects_access_rights.append(ProjectID(row.uuid))
@@ -214,7 +213,7 @@ async def get_project_access_rights(
214213
projects.c.prj_owner,
215214
_my_access_rights_subquery.c.access_rights,
216215
)
217-
.select_from(projects.join(_my_access_rights_subquery, isouter=True))
216+
.select_from(projects.join(_my_access_rights_subquery))
218217
.where(
219218
(projects.c.uuid == f"{project_id}")
220219
& (projects.c.workspace_id.is_(None))

0 commit comments

Comments
 (0)