icingaweb2-module-director/application/controllers/HostsController.php

20 lines
379 B
PHP

<?php
namespace Icinga\Module\Director\Controllers;
use Icinga\Module\Director\Web\Controller\ObjectsController;
class HostsController extends ObjectsController
{
protected $multiEdit = array(
'imports',
'groups',
'disabled'
);
protected function checkDirectorPermissions()
{
$this->assertPermission('director/hosts');
}
}