mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +00:00
Per-route tests assert the two-layer Coach module gate: a disabled module (operator availability OR per-user disableCoach) yields 403 module.disabled before any Coach work runs, and an enabled module falls through to the normal path. Covers the chat POST + list GET, about-me GET/PUT, the questions GET/DELETE, and the adopt POST short-circuit ahead of the locked read-modify-write.