Filter outbound websocket broadcasts by per-recipient camera access (#23256)

* filter outbound ws broadcasts by per-recipient camera access

* fan out config updates to comms

* tests

* mypy

* allow viewers to use jobstate

* update agent instructions

* remove vitest
This commit is contained in:
Josh Hawkins
2026-05-19 14:51:16 -05:00
committed by GitHub
parent b0b00fe1d0
commit 7881bea60f
4 changed files with 1203 additions and 7 deletions
+2
View File
@@ -774,6 +774,8 @@ def config_set(request: Request, body: AppConfigSetBody):
if request.app.dispatcher is not None:
request.app.dispatcher.config = config
for comm in request.app.dispatcher.comms:
comm.config = config
if body.update_topic:
if body.update_topic.startswith("config/cameras/"):