Groups: Add groups support to User, Host and Service
This commit is contained in:
parent
fe1994000f
commit
193cb60604
|
@ -37,6 +37,8 @@ class IcingaHost extends IcingaObject
|
||||||
|
|
||||||
protected $supportsCustomVars = true;
|
protected $supportsCustomVars = true;
|
||||||
|
|
||||||
|
protected $supportsGroups = true;
|
||||||
|
|
||||||
protected function renderCheck_command_id()
|
protected function renderCheck_command_id()
|
||||||
{
|
{
|
||||||
return $this->renderCommandProperty($this->check_command_id);
|
return $this->renderCommandProperty($this->check_command_id);
|
||||||
|
|
|
@ -34,6 +34,8 @@ class IcingaService extends IcingaObject
|
||||||
'object_type' => null,
|
'object_type' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
protected $supportsGroups = true;
|
||||||
|
|
||||||
protected function renderCheck_command_id()
|
protected function renderCheck_command_id()
|
||||||
{
|
{
|
||||||
return $this->renderCommandProperty($this->check_command_id);
|
return $this->renderCommandProperty($this->check_command_id);
|
||||||
|
|
|
@ -18,6 +18,8 @@ class IcingaUser extends IcingaObject
|
||||||
'object_type' => null,
|
'object_type' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
protected $supportsGroups = true;
|
||||||
|
|
||||||
protected function renderEnable_notifications()
|
protected function renderEnable_notifications()
|
||||||
{
|
{
|
||||||
return $this->renderBooleanProperty('enable_notifications');
|
return $this->renderBooleanProperty('enable_notifications');
|
||||||
|
|
Loading…
Reference in New Issue