blakeblackshear.frigate/web/public/locales
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
..
ab Added translation using Weblate (Abkhazian) 2025-04-15 07:05:00 -05:00
ar Translated using Weblate (Arabic) 2025-09-01 13:17:43 -05:00
bg Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
ca Translated using Weblate (Catalan) 2025-09-01 13:42:09 -05:00
cs Translated using Weblate (Czech) 2025-09-01 13:17:43 -05:00
da Translated using Weblate (Danish) 2025-09-01 13:17:43 -05:00
de Translated using Weblate (German) 2025-09-01 13:17:43 -05:00
el Translated using Weblate (Greek) 2025-09-01 13:17:43 -05:00
en Enhance user roles to limit camera access (#20024) 2025-09-12 05:19:29 -06:00
es Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
fa Translations update from Hosted Weblate (#18757) 2025-06-17 19:40:27 -05:00
fi Translated using Weblate (Finnish) 2025-09-01 13:17:43 -05:00
fr fix more merge conflicts 2025-09-01 13:51:29 -05:00
gl Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
he Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
hi Translated using Weblate (Hindi) 2025-08-20 20:34:21 -06:00
hu Translated using Weblate (Hungarian) 2025-09-01 13:17:43 -05:00
id Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
it Translated using Weblate (Italian) 2025-09-01 13:17:43 -05:00
ja Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
ko Translated using Weblate (Korean) 2025-09-01 13:17:43 -05:00
lt fix more merge conflicts 2025-09-01 13:51:29 -05:00
nb-NO Translated using Weblate (Norwegian Bokmål) 2025-09-01 13:17:43 -05:00
nl Translated using Weblate (Dutch) 2025-09-01 13:17:43 -05:00
pl Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
pt Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
pt-BR Translated using Weblate (Portuguese (Brazil)) 2025-09-01 13:17:43 -05:00
ro Translated using Weblate (Romanian) 2025-09-01 13:17:43 -05:00
ru Translated using Weblate (Russian) 2025-09-01 13:42:09 -05:00
sk Translated using Weblate (Slovak) 2025-09-01 13:17:43 -05:00
sl Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
sr Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
sv fix more merge conflicts 2025-09-01 13:51:29 -05:00
th Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
tr Translated using Weblate (Turkish) 2025-09-01 13:17:43 -05:00
uk Translated using Weblate (Ukrainian) 2025-09-01 13:17:43 -05:00
ur Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
vi Translated using Weblate (Vietnamese) 2025-09-01 13:17:43 -05:00
yue-Hant Consolidate documentation i18n keys (#19714) 2025-08-22 17:19:00 -05:00
zh-CN Translated using Weblate (Chinese (Simplified Han script)) 2025-09-01 13:17:43 -05:00
zh-Hant Translated using Weblate (Chinese (Traditional Han script)) 2025-09-01 13:17:43 -05:00