fix: enforce document ownership and make PDF uploads atomic #83
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/document-ownership-and-atomic-pdf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
longer overwrite user_id, DELETE also removes the PDFs from the file
store.
fully to disk under a fresh key, then the document pointer is switched
in one transaction and the old file deleted. A failed upload can no
longer destroy the previously uploaded PDF (ErrPDFAlreadyExists is
gone; uploads now replace).
server-side instead. Speech segment loading now returns 500 instead
of 400 on DB errors.
dropped/selected file is not a PDF.
13aeff490cb149a0a813