mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
parent
ab0b478e4f
commit
993cb31572
@ -30,7 +30,7 @@ class ToggleObjectFeaturesCommandForm extends ObjectsCommandForm
|
|||||||
*/
|
*/
|
||||||
public function createElements(array $formData = array())
|
public function createElements(array $formData = array())
|
||||||
{
|
{
|
||||||
$toggleDisabled = $this->hasPermission('monitoring/command/feature/instance') ? null : '';
|
$toggleDisabled = $this->hasPermission('monitoring/command/feature/object') ? null : '';
|
||||||
$this->addElements(array(
|
$this->addElements(array(
|
||||||
array(
|
array(
|
||||||
'checkbox',
|
'checkbox',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user