Merge pull request #1433 from dgoetz/servicegroup-set

Add Servicegroups directly to Services
This commit is contained in:
Markus Frosch 2018-09-26 09:25:46 +02:00 committed by GitHub
commit b8809af2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -475,6 +475,7 @@ class IcingaServiceForm extends DirectorObjectForm
$this->addNameElement() $this->addNameElement()
->addChoices('service') ->addChoices('service')
->addDisabledElement() ->addDisabledElement()
->addGroupsElement()
->groupMainProperties() ->groupMainProperties()
->addCheckCommandElements() ->addCheckCommandElements()
->addExtraInfoElements() ->addExtraInfoElements()
@ -521,6 +522,7 @@ class IcingaServiceForm extends DirectorObjectForm
$this->addNameElement() $this->addNameElement()
->addDisabledElement() ->addDisabledElement()
->addGroupsElement()
->groupMainProperties(); ->groupMainProperties();
if ($this->hasPermission('director/admin')) { if ($this->hasPermission('director/admin')) {