This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-25 03:07:28 +04:00
1 parent a8e7ac3987
commit bcff000ad7
1 file changed
+1 -1
+1 -1
View File
@@ -1980,7 +1980,7 @@ class ChatTable:
if (
folder
and (permission == 'read' or (folder.data or {}).get('share_mode') == 'continue')
and await has_folder_access(user.id, folder, 'read', db)
and await has_folder_access(user.id, folder, permission, db)
):
return True
# A run chat is readable by anyone the automation is shared with.