mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
HostsController: remove beta restrictions
The table takes care of this right now
This commit is contained in:
parent
311629bbd1
commit
6e57baf273
@ -6,8 +6,6 @@ use Icinga\Data\Filter\Filter;
|
||||
use Icinga\Data\Filter\FilterChain;
|
||||
use Icinga\Data\Filter\FilterExpression;
|
||||
use Icinga\Module\Director\Objects\IcingaHost;
|
||||
use Icinga\Module\Director\Restriction\BetaHostgroupRestriction;
|
||||
use Icinga\Module\Director\Tables\IcingaHostTable;
|
||||
use Icinga\Module\Director\Web\Controller\ObjectsController;
|
||||
|
||||
class HostsController extends ObjectsController
|
||||
@ -78,14 +76,4 @@ class HostsController extends ObjectsController
|
||||
|
||||
$this->setViewScript('objects/form');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param IcingaHostTable $table
|
||||
*/
|
||||
protected function applyTableFilters($table)
|
||||
{
|
||||
$table->addObjectRestriction(
|
||||
new BetaHostgroupRestriction($this->db(), $this->Auth())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user