This commit is contained in:
Timothy Jaeryang Baek
2026-04-01 07:42:11 -05:00
parent 124b7e9154
commit 584a9a0920
+2 -2
View File
@@ -614,10 +614,10 @@ async def document_save_handler(document_id, data, user):
user_id=user.get('id'),
resource_type='note',
resource_id=note.id,
permission='read',
permission='write',
)
):
log.error(f'User {user.get("id")} does not have access to note {note_id}')
log.error(f'User {user.get("id")} does not have write access to note {note_id}')
return
Notes.update_note_by_id(note_id, NoteUpdateForm(data=data))