monitoring: Use new restriction when viewing a service

refs #9009
This commit is contained in:
Eric Lippmann 2015-06-05 14:44:35 +02:00
parent 5745790cdd
commit 5bc611f772
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Monitoring_ServiceController extends MonitoredObjectController
$this->backend, $this->params->getRequired('host'), $this->params->getRequired('service')
);
$this->applyRestriction('monitoring/services/filter', $service);
$this->applyRestriction('monitoring/filter/objects', $service);
if ($service->fetch() === false) {
$this->httpNotFound($this->translate('Service not found'));