monitoring/security: Provide permissions for the feature commands

This commit is contained in:
Eric Lippmann 2015-01-23 13:29:47 +01:00
parent 4be7f09a38
commit c78d4aa0bd
1 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,4 @@
<?php
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
/** @type $this \Icinga\Application\Modules\Module */
@ -48,6 +46,14 @@ $this->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',