ServicesController: Restrict the display of multiple services

refs #9009
This commit is contained in:
Johannes Meyer 2015-06-15 16:06:13 +02:00
parent ce48f63ac6
commit bd41839a19
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class Monitoring_ServicesController extends Controller
$serviceList->setFilter(Filter::fromQueryString(
(string) $this->params->without(array('service_problem', 'service_handled', 'view'))
));
$this->applyRestriction('monitoring/filter/objects', $serviceList);
$this->serviceList = $serviceList;
$this->view->listAllLink = Url::fromRequest()->setPath('monitoring/list/services');
$this->getTabs()->add(