frigate/web/src/views/settings
Josh Hawkins 5f092a38a8 UI viewer role (#16978)
* db migration

* db model

* assign admin role on password reset

* add role to jwt and api responses

* don't restrict api access for admins yet

* use json response

* frontend auth context

* update auth form for profile endpoint

* add access denied page

* add protected routes

* auth hook

* dialogs

* user settings view

* restrict viewer access to settings

* restrict camera functions for viewer role

* add password dialog to account menu

* spacing tweak

* migrator default to admin

* escape quotes in migrator

* ui tweaks

* tweaks

* colors

* colors

* fix merge conflict

* fix icons

* add api layer enforcement

* ui tweaks

* fix error message

* debug

* clean up

* remove print

* guard apis for admin only

* fix tests

* fix review tests

* use correct error responses from api in toasts

* add role to account menu
2025-03-18 15:12:41 +01:00
..
AuthenticationView.tsx UI viewer role (#16978) 2025-03-18 15:12:41 +01:00
CameraSettingsView.tsx UI viewer role (#16978) 2025-03-18 15:12:41 +01:00
MasksAndZonesView.tsx Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
MotionTunerView.tsx Accessibility features (#14518) 2024-10-22 16:07:42 -06:00
NotificationsSettingsView.tsx UI viewer role (#16978) 2025-03-18 15:12:41 +01:00
ObjectSettingsView.tsx Object area debugging and improvements (#16432) 2025-02-09 14:48:23 -07:00
SearchSettingsView.tsx UI viewer role (#16978) 2025-03-18 15:12:41 +01:00
UiSettingsView.tsx UI viewer role (#16978) 2025-03-18 15:12:41 +01:00