blakeblackshear.frigate/frigate/test
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
..
http_api UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
__init__.py
const.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
test_birdseye.py
test_camera_pw.py
test_config.py Reuse constants (#16874) 2025-02-28 21:35:09 -07:00
test_copy_yuv_to_position.py
test_ffmpeg_presets.py Improve gamma filter (#14065) 2024-09-30 11:42:51 -06:00
test_gpu_stats.py Add support for SR-IOV GPU stats (#15796) 2025-02-08 12:47:01 -06:00
test_http.py UI viewer role (#16978) 2025-03-08 10:01:08 -06:00
test_obects.py Various fixes (#14410) 2024-10-17 11:02:27 -05:00
test_object_detector.py
test_record_retention.py Save motion as motion box count (#10484) 2024-03-15 13:13:40 -06:00
test_reduce_boxes.py
test_storage.py
test_video.py
test_yuv_region_2_rgb.py