From 5e09753622b2549cda89598e834f0e0bd26949cd Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 7 Dec 2016 00:37:35 +0100 Subject: [PATCH] providePermission director/*, disable unused ones refs #13285 --- configuration.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration.php b/configuration.php index 4242c127..4b16f371 100644 --- a/configuration.php +++ b/configuration.php @@ -8,9 +8,12 @@ $this->providePermission('director/hosts', $this->translate('Allow to configure $this->providePermission('director/users', $this->translate('Allow to configure users')); $this->providePermission('director/notifications', $this->translate('Allow to configure notifications')); $this->providePermission('director/inspect', $this->translate('Allow to inspect objects through the Icinga 2 API (could contain sensitive information)')); +$this->providePermission('director/*', $this->translate('Allow unrestricted access to Icinga Director')); $this->provideSearchUrl($this->translate('Host configs'), 'director/hosts?limit=10', 60); +/* +// Disabled unless available $this->provideRestriction( 'director/hosttemplates/filter', $this->translate('Allow to use only host templates matching this filter') @@ -20,6 +23,7 @@ $this->provideRestriction( 'director/dbresources/use', $this->translate('Allow to use only these db resources (comma separated list)') ); +*/ $this->provideConfigTab('config', array( 'title' => 'Configuration',