Ernest Hysa
f5c9095222
fix(document): add 404 guard to version list/get endpoints ( #2762 )
...
list_versions and get_version used a soft 'if doc:' guard that skipped
ownership verification when the Document row was missing (e.g. after
hard delete). Orphaned DocumentVersion rows would be returned to any
caller without auth. Now raises 404 when the parent document is gone,
matching the pattern already used in restore_version.
2026-06-05 15:12:40 +02:00
..
2026-05-31 23:58:26 +09:00
2026-06-02 20:35:57 +09:00
2026-06-03 22:49:09 +09:00
2026-05-31 23:58:26 +09:00
2026-06-04 22:36:05 +02:00
2026-06-03 13:29:14 +09:00
2026-06-04 13:20:04 +01:00
2026-06-04 19:26:58 +02:00
2026-06-05 00:06:37 +02:00
2026-05-31 23:58:26 +09:00
2026-06-04 23:27:18 +09:00
2026-06-04 04:39:01 +01:00
2026-06-03 14:24:04 +09:00
2026-06-04 23:27:18 +09:00
2026-06-05 14:41:43 +09:00
2026-06-04 21:13:14 +02:00
2026-06-01 22:20:17 +09:00
2026-06-03 13:34:33 +09:00
2026-06-05 15:12:40 +02:00
2026-06-03 14:07:03 +09:00
2026-06-05 02:21:50 +02:00
2026-06-05 02:21:50 +02:00
2026-06-05 02:21:50 +02:00
2026-06-03 14:12:41 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 14:24:30 +09:00
2026-06-03 14:23:04 +09:00
2026-06-05 15:12:33 +02:00
2026-06-04 21:50:16 +02:00
2026-06-03 16:49:10 +09:00
2026-06-05 02:40:52 +02:00
2026-06-04 00:32:50 +01:00
2026-06-04 19:43:38 +02:00
2026-06-03 01:02:25 +09:00
2026-06-03 13:29:57 +09:00
2026-06-04 03:55:22 +01:00
2026-05-31 23:58:26 +09:00
2026-06-03 23:19:28 +01:00
2026-05-31 23:58:26 +09:00
2026-06-04 21:50:16 +02:00
2026-06-03 13:28:19 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 08:59:24 +09:00
2026-06-04 00:32:50 +01:00
2026-06-05 14:41:43 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 14:12:00 +09:00
2026-06-03 02:13:51 +09:00
2026-06-03 22:47:00 +09:00
2026-06-05 00:06:37 +02:00