From d208b48b72d6cc7ad6bbb36666bbe50dabdb4fac Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 4 Jul 2017 17:24:57 +0200 Subject: [PATCH] Monitoring: Fix permission for the 'Process check result' action fixes #2878 --- .../application/views/scripts/show/components/command.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/show/components/command.phtml b/modules/monitoring/application/views/scripts/show/components/command.phtml index 4a47c77b1..9b5145827 100644 --- a/modules/monitoring/application/views/scripts/show/components/command.phtml +++ b/modules/monitoring/application/views/scripts/show/components/command.phtml @@ -12,7 +12,7 @@ if ($showInstance): ?> translate('Command') ?> escape($command) ?> - hasPermission('monitoring/command/schedule-check') && $object->passive_checks_enabled) { + 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 );