monitoring/security: Apply services/filter restriction in the service detail view
This commit is contained in:
parent
49d4d74dbb
commit
49b82af704
|
@ -26,6 +26,9 @@ class Monitoring_ServiceController extends MonitoredObjectController
|
|||
public function init()
|
||||
{
|
||||
$service = new Service($this->backend, $this->params->get('host'), $this->params->get('service'));
|
||||
|
||||
$this->applyRestriction('monitoring/services/filter', $service);
|
||||
|
||||
if ($service->fetch() === false) {
|
||||
throw new Zend_Controller_Action_Exception($this->translate('Service not found'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue