mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
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>
|
<th><?= $this->translate('Command') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<?= $this->escape($command) ?>
|
<?= $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(
|
$title = sprintf(
|
||||||
$this->translate('Submit a one time or so called passive result for the %s check'), $command
|
$this->translate('Submit a one time or so called passive result for the %s check'), $command
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user