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