From c78d4aa0bd75bfefe411e1de7681325795d0c290 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 23 Jan 2015 13:29:47 +0100 Subject: [PATCH] monitoring/security: Provide permissions for the feature commands --- modules/monitoring/configuration.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/configuration.php b/modules/monitoring/configuration.php index ed94f1545..6b1fe1cda 100644 --- a/modules/monitoring/configuration.php +++ b/modules/monitoring/configuration.php @@ -1,6 +1,4 @@ providePermission( 'monitoring/command/process-check-result', $this->translate('Allow processing host and service check results') ); +$this->providePermission( + 'monitoring/command/feature/program', + $this->translate('Allow processing commands for toggling features on a program-wide basis') +); +$this->providePermission( + 'monitoring/command/feature/object', + $this->translate('Allow processing commands for toggling features on host and service objects') +); $this->provideRestriction( 'monitoring/filter',