mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
configuration.php: Add custom variable restrictions
This commit is contained in:
parent
c1a289b23b
commit
989d6fcccc
1 changed files with 10 additions and 0 deletions
|
|
@ -28,6 +28,16 @@ namespace Icinga\Module\Icingadb
|
|||
$this->translate('Restrict access to the Icinga services that match the filter')
|
||||
);
|
||||
|
||||
$this->provideRestriction(
|
||||
'icingadb/blacklist/variables',
|
||||
$this->translate('Hide custom variables of Icinga objects that are part of the list')
|
||||
);
|
||||
|
||||
$this->provideRestriction(
|
||||
'icingadb/protect/variables',
|
||||
$this->translate('Obfuscate custom variable values of Icinga objects that are part of the list')
|
||||
);
|
||||
|
||||
if (! $this::exists('monitoring')) {
|
||||
/**
|
||||
* Search urls
|
||||
|
|
|
|||
Loading…
Reference in a new issue