summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php')
-rw-r--r--library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php b/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php
index f971d42..c8db0e9 100644
--- a/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php
+++ b/library/Director/Dashboard/Dashlet/ServiceSetsDashlet.php
@@ -2,6 +2,8 @@
namespace Icinga\Module\Director\Dashboard\Dashlet;
+use Icinga\Module\Director\Auth\Permission;
+
class ServiceSetsDashlet extends Dashlet
{
protected $icon = 'services';
@@ -26,6 +28,6 @@ class ServiceSetsDashlet extends Dashlet
public function listRequiredPermissions()
{
- return array('director/servicesets');
+ return [Permission::SERVICE_SETS];
}
}