From 491499a7acd3613a6aa23ce625143805a3ebfa59 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 14 Aug 2023 17:59:34 +0200 Subject: [PATCH] Disallow Downtime#config_owner modification This attribute is used only by ScheduledDowntime anyway and is a relation declarator such as host_name, service_name. --- lib/icinga/downtime.ti | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/downtime.ti b/lib/icinga/downtime.ti index 21e97313e..b8885b30c 100644 --- a/lib/icinga/downtime.ti +++ b/lib/icinga/downtime.ti @@ -72,7 +72,7 @@ class Downtime : ConfigObject < DowntimeNameComposer [no_storage] bool was_cancelled { get {{{ return GetRemoveTime() > 0; }}} }; - [config] String config_owner; + [config, no_user_modify] String config_owner; [config] String config_owner_hash; [config] String authoritative_zone;