frigate/web/src/components/settings
Josh Hawkins 74ca009b0b
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-08 10:01:08 -06:00
..
CameraStreamingDialog.tsx Improve live streaming (#16447) 2025-02-10 09:42:35 -07:00
MotionMaskEditPane.tsx UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
ObjectMaskEditPane.tsx UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
PolygonCanvas.tsx Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
PolygonDrawer.tsx Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
PolygonEditControls.tsx Snap points to edges and create object mask from bounding box (#16488) 2025-02-11 09:08:28 -07:00
PolygonItem.tsx UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
SearchSettings.tsx Language consistency - use Explore instead of Search (#15709) 2024-12-27 17:38:43 -07:00
ZoneEditPane.tsx UI viewer role (#16978) 2025-03-08 10:01:08 -06:00