mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
created_by_id cascaded, so a Guardian who deleted their own account took every handover they had issued with them, including a claimed one whose decision the new owner had not made yet. The claim had already applied the proposal, possibly MANAGE for a co-Guardian, and the owner lost the one place that asks them to confirm it. The column is nullable now and cleared on delete (migration 0390). An unclaimed link without a creator is refused like any link whose creator lost access. A decision that names a Guardian whose account is gone is refused with 422 instead of failing on a grant for a missing account.