Disallow Downtime#config_owner modification

This attribute is used only by ScheduledDowntime anyway
and is a relation declarator such as host_name, service_name.
This commit is contained in:
Alexander A. Klimov 2023-08-14 17:59:34 +02:00
parent fd4d3e88b9
commit 491499a7ac

View File

@ -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;