configuration.php: Introduce new permission icingadb/object/show-source

This commit is contained in:
Johannes Meyer 2021-05-05 10:28:27 +02:00
parent bafea7ea13
commit c37fdffaba

View file

@ -95,6 +95,11 @@ namespace Icinga\Module\Icingadb
$this->translate('Allow to send custom notifications for hosts and services')
);
$this->providePermission(
'icingadb/object/show-source',
$this->translate('Allow to view an object\'s source data. (May contain sensitive data!)')
);
$this->provideRestriction(
'icingadb/filter/objects',
$this->translate('Restrict access to the Icinga objects that match the filter')