diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index 02b2e79aa..977210940 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -806,7 +806,7 @@ Value ClusterEvents::SendNotificationsAPIHandler(const MessageOrigin::Ptr& origi if (!checkable) return Empty; - if (origin->FromZone && !origin->FromZone->CanAccessObject(checkable)) { + if (origin->FromZone && origin->FromZone != Zone::GetLocalZone()) { Log(LogNotice, "ClusterEvents") << "Discarding 'send custom notification' message from '" << origin->FromClient->GetIdentity() << "': Unauthorized access."; return Empty;