api/routers
CC Worker e269e67f27 fix(exam): block destructive template PUT once marks recorded (review #1)
PUT full-replace deletes exam_questions, and mark_entries.question_id cascades
ON DELETE — so re-saving the setup canvas after marking began would silently
wipe recorded marks. Guard: 409 if any mark_entry exists for the template's
batches. Mark-scheme edits (PATCH /questions/{id}) are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 19:15:35 +00:00
..
2025-11-14 14:47:19 +00:00
2025-08-23 19:01:36 +01:00
2025-08-23 19:01:36 +01:00
2025-11-19 19:38:09 +00:00
2025-11-14 14:47:19 +00:00
2026-05-28 14:14:35 +01:00
2025-08-23 19:01:36 +01:00
2025-08-23 19:01:36 +01:00
2025-08-23 19:01:36 +01:00
2025-07-11 13:52:19 +00:00
2025-11-14 14:47:19 +00:00
2025-07-11 13:52:19 +00:00
2025-11-14 14:47:19 +00:00
2025-11-14 14:47:19 +00:00
2025-11-14 14:47:19 +00:00
2025-11-14 14:47:19 +00:00
2026-05-28 17:55:37 +01:00