Files
frigate/frigate/api
Josh HawkinsandGitHub 17a8efa09c Fix camera name collision bypassing admin check (#24516)
* don't let camera names waive the admin check on non-camera routes

The global admin guard skipped the admin check for any request whose first path segment matched a configured camera name, without looking at which route actually handled it. A camera named `faces`, `lpr`, `audio`, or `classification` let viewers reach the face, LPR, audio transcription, and classification endpoints that rely only on the global guard. The exemption now also requires the matched route to be a `/{camera_name}` route, so camera routes behave exactly as before.

* add test
2026-10-01 08:56:04 -06:00
..
2026-07-06 12:28:02 -05:00
2026-09-02 07:29:46 -06:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00
2026-07-06 12:28:02 -05:00