configuration.php: Provide restrictions

This commit is contained in:
Johannes Meyer 2021-01-28 12:27:23 +01:00
parent fa2b9d5847
commit 562d9b7ea8

View file

@ -13,6 +13,21 @@ namespace Icinga\Module\Icingadb
$this->provideSetupWizard('Icinga\Module\Icingadb\Setup\IcingaDbWizard');
$this->provideRestriction(
'icingadb/filter/objects',
$this->translate('Restrict access to the Icinga objects that match the filter')
);
$this->provideRestriction(
'icingadb/filter/hosts',
$this->translate('Restrict access to the Icinga hosts and services that match the filter')
);
$this->provideRestriction(
'icingadb/filter/services',
$this->translate('Restrict access to the Icinga services that match the filter')
);
if (! $this::exists('monitoring')) {
/**
* Search urls