Michael-Jetson
cf2d5067c3
fix(security): add JWT auth + visibility check to pages API
- GET /pages/:slug now requires JWT + checks custom_menu_items visibility
- GET /pages (list) is admin-only
- GET /pages/:slug/images/* uses visibility check without JWT (browser
img tags cannot carry auth headers), blocks admin-only page images
- Frontend fetch adds Authorization header from authStore.token
- settingService nil guard changed to fail-closed (deny access)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-05 07:00:08 -07:00
..
2026-04-23 21:40:58 +08:00
2026-05-05 07:00:08 -07:00
2026-01-12 11:44:34 +08:00
2026-05-05 17:13:25 +08:00
2026-05-05 17:13:25 +08:00
2026-01-16 19:49:33 +08:00
2026-02-02 22:13:50 +08:00
2026-05-05 03:26:54 +08:00
2026-04-23 21:40:58 +08:00