Files
frigate/docs
Josh HawkinsandGitHub 212ebca746 Tighten proxy role resolution (#25064)
* deny proxy users whose role can't be resolved instead of falling back to viewer

Proxy role resolution fell back to viewer, which grants every camera, in several accidental cases. A default_role that was misspelled, null, or named a deleted role became viewer. A role_map group whose mapped role had been deleted (for example, emptied by a camera delete) got the default role. Direct role headers were lowercased but compared to case-sensitive role names, so a custom role like Garage never matched, and a custom role named Admin resolved to the built-in admin.

- match header values, default_role and role_map roles against configured roles regardless of case
- deny when default_role or a matched role_map role doesn't exist, and warn at config load for an unknown default_role
- reserve admin and viewer in every casing and reject role names that differ only by case, in config validation and the Create Role dialog
- show a null default_role as none in the settings widget

* normalize a null proxy default_role to none

/config drops null fields, so the settings form filled in viewer for a null default_role while /auth denied those users. The config now stores a null default_role as none, which the API returns and the widget shows, and the unreachable null branch in the widget is removed.
2026-11-24 06:34:46 -07:00
..
2026-07-07 10:56:43 -06:00
2026-11-06 07:43:38 -07:00
2026-03-30 10:36:45 -06:00
2021-01-26 21:40:33 -06:00
2026-09-14 07:16:31 -06:00

Website

This website is built using Docusaurus 3.5, a modern static website generator.

For installation and contributing instructions, please follow the Contributing Docs.

Development

  1. Run npm i to install dependencies
  2. Run npm run start to start the website