Alexandre Teixeira
26483661da
Restrict provider discovery to admins
...
Require admin access before serving provider discovery data from
GET /api/providers. This prevents normal authenticated users from
triggering provider discovery or receiving cached provider host data.
Keep GET /api/models available to normal users and leave the existing
admin-only GET /api/discover behavior unchanged.
Add a focused regression test to ensure unauthorized callers cannot
trigger discovery and cannot receive cached provider data.
2026-06-02 05:54:40 +09:00
..
2026-05-31 23:58:26 +09:00
2026-06-01 15:09:47 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 23:12:12 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 13:42:44 +09:00
2026-06-01 14:26:10 +09:00
2026-06-01 16:57:28 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 14:26:10 +09:00
2026-06-01 15:09:47 +09:00
2026-06-01 23:10:08 +09:00
2026-06-01 23:10:08 +09:00
2026-06-01 22:20:17 +09:00
2026-06-01 22:38:14 +09:00
2026-06-01 22:38:14 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 22:20:17 +09:00
2026-06-01 23:12:32 +09:00
2026-06-01 22:20:17 +09:00
2026-06-01 15:09:47 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 22:35:24 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 22:20:17 +09:00
2026-06-01 22:32:17 +09:00
2026-06-02 05:54:40 +09:00
2026-06-01 15:09:47 +09:00
2026-06-01 22:36:53 +09:00
2026-06-01 15:09:47 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 15:09:47 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 22:20:17 +09:00
2026-06-01 22:44:34 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 20:56:46 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 15:09:47 +09:00
2026-06-01 15:09:47 +09:00
2026-06-01 14:26:10 +09:00