From 562d9b7ea81c1b39dd2d089cf9ef08ab409801aa Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 28 Jan 2021 12:27:23 +0100 Subject: [PATCH] configuration.php: Provide restrictions --- configuration.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configuration.php b/configuration.php index 600d790a..50386faa 100644 --- a/configuration.php +++ b/configuration.php @@ -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