From e1cf400861c50170fbf8df3ca733b64c93cf9f20 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:51:25 -0500 Subject: [PATCH] only send monitoring notifications to users with camera access --- frigate/comms/webpush.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frigate/comms/webpush.py b/frigate/comms/webpush.py index e4ed832682..a9e237e706 100644 --- a/frigate/comms/webpush.py +++ b/frigate/comms/webpush.py @@ -549,6 +549,14 @@ class WebPushClient(Communicator): logger.debug(f"Sending camera monitoring push notification for {camera_name}") for user in self.web_pushers: + if not self._user_has_camera_access(user, camera): + logger.debug( + "Skipping notification for user %s - no access to camera %s", + user, + camera, + ) + continue + self.send_push_notification( user=user, payload=payload,