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-05-05 20:11:12 +08:00
2026-04-25 20:39:58 -04:00
2026-05-05 07:00:08 -07:00
2026-02-08 12:05:39 +08:00
2026-02-08 12:05:39 +08:00
2026-03-27 14:33:05 +08:00
2026-04-26 04:57:34 +00:00
2026-05-05 19:36:33 +08:00
2026-05-05 06:44:37 -07:00
2026-05-05 07:00:08 -07:00
2026-05-05 07:00:08 -07:00
2026-03-17 15:38:18 +08:00
2026-03-09 19:55:18 +08:00
2026-04-05 17:11:01 +08:00
2026-04-23 15:13:57 +00:00