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 06:44:37 -07:00
2026-05-05 06:44:37 -07:00
2026-04-22 13:19:28 +08:00
2026-04-24 22:22:26 +08:00
2026-04-22 14:56:56 +08:00
2026-04-26 12:42:35 +08:00
2026-04-22 12:30:00 +08:00
2026-05-05 06:44:37 -07:00
2026-04-26 12:42:35 +08:00
2026-04-22 13:19:20 +08:00
2026-04-22 14:56:56 +08:00
2026-04-26 12:42:35 +08:00
2026-04-25 08:44:18 +08:00
2026-04-25 08:44:18 +08:00
2026-04-26 12:42:35 +08:00
2026-04-21 21:44:34 +08:00
2026-04-21 21:44:34 +08:00
2026-04-22 12:30:08 +08:00
2026-04-22 12:30:08 +08:00
2026-04-23 16:34:37 +08:00
2026-04-23 16:34:37 +08:00
2026-04-23 16:34:37 +08:00
2026-04-29 22:48:39 +08:00
2026-04-30 11:38:11 +08:00
2026-04-23 16:34:37 +08:00
2026-04-25 20:22:07 +08:00
2026-05-05 03:26:54 +08:00
2026-05-05 03:26:54 +08:00
2026-05-05 03:26:54 +08:00
2026-04-25 05:26:33 +00:00
2026-05-05 19:36:33 +08:00
2026-05-05 19:36:33 +08:00
2026-05-05 03:26:54 +08:00
2026-05-05 03:26:54 +08:00
2026-04-22 12:30:08 +08:00
2026-05-05 07:00:08 -07:00
2026-04-25 08:44:18 +08:00
2026-04-22 11:17:23 +08:00
2026-04-23 19:22:43 +08:00
2026-04-23 18:33:28 +08:00
2026-04-21 20:36:10 +08:00
2026-04-25 20:22:07 +08:00
2026-05-05 03:26:54 +08:00
2026-05-05 06:44:37 -07:00
2026-04-25 08:44:18 +08:00
2026-04-25 20:22:07 +08:00