frigate/docs/docs/configuration
Josh Hawkins ed1e3a7c9a
Enhance user roles to limit camera access (#20024)
* update config for roles and add validator

* ensure admin and viewer are never overridden

* add class method to user to retrieve all allowed cameras

* enforce config roles in auth api endpoints

* add camera access api dependency functions

* protect review endpoints

* protect preview endpoints

* rename param name for better fastapi injection matching

* remove unneeded

* protect export endpoints

* protect event endpoints

* protect media endpoints

* update auth hook for allowed cameras

* update default app view

* ensure anonymous user always returns all cameras

* limit cameras in explore

* cameras is already a list

* limit cameras in review/history

* limit cameras in live view

* limit cameras in camera groups

* only show face library and classification in sidebar for admin

* remove check in delete reviews

since admin role is required, no need to check camera access. fixes failing test

* pass request with camera access for tests

* more async

* camera access tests

* fix proxy auth tests

* allowed cameras for review tests

* combine event tests and refactor for camera access

* fix post validation for roles

* don't limit roles in create user dialog

* fix triggers endpoints

no need to run require camera access dep since the required role is admin

* fix type

* create and edit role dialogs

* delete role dialog

* fix role change dialog

* update settings view for roles

* i18n changes

* minor spacing tweaks

* docs

* use badges and camera name label component

* clarify docs

* display all cameras badge for admin and viewer

* i18n fix

* use validator to prevent reserved and empty roles from being assigned

* split users and roles into separate tabs in settings

* tweak docs

* clarify docs

* change icon

* don't memoize roles

always recalculate on component render
2025-09-12 05:19:29 -06:00
..
genai Improve natural language of prompt (#19515) 2025-08-16 10:20:33 -05:00
advanced.md Move database and config from homeassistant /config to addon /config (#16337) 2025-03-24 09:05:59 -05:00
audio_detectors.md Improve audio detection debugging (#19753) 2025-08-25 13:40:21 -05:00
authentication.md Enhance user roles to limit camera access (#20024) 2025-09-12 05:19:29 -06:00
autotracking.md Add autotracking calibration message (#16431) 2025-02-09 14:29:08 -07:00
bird_classification.md Bird classification docs (#17369) 2025-03-26 14:42:30 -05:00
birdseye.md Move database and config from homeassistant /config to addon /config (#16337) 2025-03-24 09:05:59 -05:00
camera_specific.md Fix markdown table in camera_specific.md (#19919) 2025-09-05 06:00:51 -05:00
cameras.md Merge remote-tracking branch 'origin/master' into dev 2025-09-04 06:33:22 -05:00
face_recognition.md Support face recognition via RKNN (#19687) 2025-08-21 06:18:55 -06:00
ffmpeg_presets.md docs: rk ffmpeg preset is outdated (#19780) 2025-08-26 15:24:58 -06:00
genai.md Review genai updates (#19448) 2025-08-16 10:20:33 -05:00
hardware_acceleration_enrichments.md Support face recognition via RKNN (#19687) 2025-08-21 06:18:55 -06:00
hardware_acceleration_video.md docs: rk ffmpeg preset is outdated (#19780) 2025-08-26 15:24:58 -06:00
index.md Move database and config from homeassistant /config to addon /config (#16337) 2025-03-24 09:05:59 -05:00
license_plate_recognition.md Enrichments: Allow targeting a specific GPU ID (#19342) 2025-08-18 17:43:53 -06:00
live.md Add PTZ Camera recommendations, explanations and docs for 2-way audio (#19740) 2025-08-28 10:01:50 -06:00
masks.md Update docs for clarity on review items (#12441) 2024-07-14 11:12:26 -06:00
metrics.md Use /api/metrics instead of /metrics (#16425) 2025-02-09 12:50:42 -07:00
motion_detection.md Fixes (#18500) 2025-06-03 06:33:32 -06:00
notifications.md Add note for notifications on iOS devices (#16744) 2025-02-22 09:19:37 -06:00
object_detectors.md Merge remote-tracking branch 'origin/master' into dev 2025-09-04 06:33:22 -05:00
object_filters.md Object area debugging and improvements (#16432) 2025-02-09 14:48:23 -07:00
objects.md Update object docs (#14295) 2024-10-12 07:13:00 -05:00
pwa.md Update pwa.md (#18568) 2025-06-04 14:32:25 -06:00
record.md Tiered recordings (#18492) 2025-08-16 10:20:33 -05:00
reference.md Improve review segmentation behavior (#19850) 2025-08-31 16:36:12 -05:00
restream.md Link fixed in restream docs (#17814) 2025-04-19 16:49:52 -05:00
review.md Docs: Clarify review labels and objects to track (#16758) 2025-02-23 06:28:03 -07:00
semantic_search.md Add automatic RKNN conversion and support for semantic search model (#19676) 2025-08-21 05:30:14 -06:00
snapshots.md Fixes (#18139) 2025-05-11 12:03:53 -06:00
stationary_objects.md Remove parked car guide as it is no longer relevant (#11451) 2024-05-20 22:56:03 +05:30
tls.md Update tls.md instructions for letsencrypt archive dir (#17747) 2025-04-16 16:57:39 -06:00
zones.md Adjust loitering behavior based on object type (#19433) 2025-08-16 10:20:33 -05:00