File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/postgres-database/src/simcore_postgres_database Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -286,9 +286,6 @@ async def create_or_update_access_rights(
286286 write : bool ,
287287 delete : bool ,
288288 ) -> TagAccessRightsDict :
289- # NOTE that there is no reference to the caller which implies
290- # that we assume that the rigths to create or update these access_rights
291- # have been checked (via has_access_rights) before calling this function
292289 async with transaction_context (self .engine , connection ) as conn :
293290 result = await conn .execute (
294291 upsert_tags_access_rights_stmt (
@@ -317,9 +314,6 @@ async def delete_access_rights(
317314 tag_id : int ,
318315 group_id : int ,
319316 ) -> bool :
320- # NOTE that there is no reference to the caller which implies
321- # that we assume that the rigths to delete these access_rights
322- # have been checked (via has_access_rights) before calling this function
323317 async with transaction_context (self .engine , connection ) as conn :
324318 deleted : bool = await conn .scalar (
325319 delete_tag_access_rights_stmt (tag_id = tag_id , group_id = group_id )
You can’t perform that action at this time.
0 commit comments