Monitoring: Fix permission for the 'Process check result' action

fixes 

(cherry picked from commit d208b48b72d6cc7ad6bbb36666bbe50dabdb4fac)
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
Eric Lippmann 2017-07-04 17:24:57 +02:00
parent 2745e36f45
commit dad5911591

@ -12,7 +12,7 @@ if ($showInstance): ?>
<th><?= $this->translate('Command') ?></th>
<td>
<?= $this->escape($command) ?>
<?php if ($this->hasPermission('monitoring/command/schedule-check') && $object->passive_checks_enabled) {
<?php if ($this->hasPermission('monitoring/command/process-check-result') && $object->passive_checks_enabled) {
$title = sprintf(
$this->translate('Submit a one time or so called passive result for the %s check'), $command
);