mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +02:00
parent
656d6ff13a
commit
3464f29ca2
@ -54,7 +54,7 @@ bool Zone::CanAccessObject(const DynamicObject::Ptr& object) const
|
||||
Zone::GetByName(object->GetZone());
|
||||
|
||||
if (!object_zone)
|
||||
return false;
|
||||
object_zone = Zone::GetLocalZone();
|
||||
|
||||
while (object_zone) {
|
||||
if (object_zone.get() == this)
|
||||
|
Loading…
x
Reference in New Issue
Block a user