mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
monitoring/security: Provide permissions for the feature commands
This commit is contained in:
parent
4be7f09a38
commit
c78d4aa0bd
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user