Commit graph

4 commits

Author SHA1 Message Date
유창욱
55d99602ce feat(cloud): incident detail view renders snapshot images 2026-07-12 11:48:55 +09:00
유창욱
3405c1e2cc fix(cloud): enforce CSRF on authenticated state-changing POSTs (M1)
Only SameSite=Lax protected the acknowledge and zone save/delete endpoints,
even though a Csrf helper and mintable token already existed. Add
GET /api/csrf (CsrfController::token) to mint/return a per-session token,
check it (auth -> rbac -> csrf -> mutate) in EventDetailController::acknowledge
and ZoneConfigController::save/delete, and wire app.js/zone-draw.js to fetch
the token on load and send it as X-Csrf-Token on every POST.
2026-07-12 09:16:38 +09:00
유창욱
81eae5d045 fix(cloud): login form submits via fetch (redirect on success, show error) 2026-07-12 01:39:06 +09:00
유창욱
81e8e81b72 feat(cloud): front controller wiring + views + zone-draw UI 2026-07-12 01:24:42 +09:00