From 743a726752554de85f93c5069b9588bf4fec0ad9 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 19 Jul 2016 20:09:14 +0200 Subject: [PATCH] state_filters_real shouldn't be visible in the API fixes #12171 --- lib/db_ido/dbconnection.ti | 2 +- lib/icinga/dependency.ti | 2 +- lib/icinga/notification.ti | 4 ++-- lib/icinga/user.ti | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/db_ido/dbconnection.ti b/lib/db_ido/dbconnection.ti index 8cac625e9..7e8361645 100644 --- a/lib/db_ido/dbconnection.ti +++ b/lib/db_ido/dbconnection.ti @@ -54,7 +54,7 @@ abstract class DbConnection : ConfigObject return cat; }}} }; - int categories_filter_real (CategoryFilter); + [no_user_view, no_user_modify] int categories_filter_real (CategoryFilter); [config] bool enable_ha { default {{{ return true; }}} diff --git a/lib/icinga/dependency.ti b/lib/icinga/dependency.ti index 830a114ad..98f27de93 100644 --- a/lib/icinga/dependency.ti +++ b/lib/icinga/dependency.ti @@ -101,7 +101,7 @@ class Dependency : CustomVarObject < DependencyNameComposer }; [config] array(Value) states; - int state_filter_real (StateFilter); + [no_user_view, no_user_modify] int state_filter_real (StateFilter); [config] bool ignore_soft_states { default {{{ return true; }}} diff --git a/lib/icinga/notification.ti b/lib/icinga/notification.ti index 2f39b3630..a63e68284 100644 --- a/lib/icinga/notification.ti +++ b/lib/icinga/notification.ti @@ -57,9 +57,9 @@ class Notification : CustomVarObject < NotificationNameComposer [config, protected] array(name(UserGroup)) user_groups (UserGroupsRaw); [config] Dictionary::Ptr times; [config] array(Value) types; - int type_filter_real (TypeFilter); + [no_user_view, no_user_modify] int type_filter_real (TypeFilter); [config] array(Value) states; - int state_filter_real (StateFilter); + [no_user_view, no_user_modify] int state_filter_real (StateFilter); [config, protected, required, navigation(host)] name(Host) host_name { navigate {{{ return Host::GetByName(GetHostName()); diff --git a/lib/icinga/user.ti b/lib/icinga/user.ti index 14faee10a..32566d106 100644 --- a/lib/icinga/user.ti +++ b/lib/icinga/user.ti @@ -45,9 +45,9 @@ class User : CustomVarObject }; [config] array(Value) types; - int type_filter_real (TypeFilter); + [no_user_view, no_user_modify] int type_filter_real (TypeFilter); [config] array(Value) states; - int state_filter_real (StateFilter); + [no_user_view, no_user_modify] int state_filter_real (StateFilter); [config] String email; [config] String pager;