Monitoring: Fix permission for the 'Process check result' action
fixes #2878
This commit is contained in:
parent
c0d82fa2cc
commit
d208b48b72
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue