summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/ActivityLogDashlet.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Dashboard/Dashlet/ActivityLogDashlet.php')
-rw-r--r--library/Director/Dashboard/Dashlet/ActivityLogDashlet.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/Director/Dashboard/Dashlet/ActivityLogDashlet.php b/library/Director/Dashboard/Dashlet/ActivityLogDashlet.php
index 9794986..7a9745b 100644
--- a/library/Director/Dashboard/Dashlet/ActivityLogDashlet.php
+++ b/library/Director/Dashboard/Dashlet/ActivityLogDashlet.php
@@ -2,6 +2,8 @@
namespace Icinga\Module\Director\Dashboard\Dashlet;
+use Icinga\Module\Director\Auth\Permission;
+
class ActivityLogDashlet extends Dashlet
{
protected $icon = 'book';
@@ -30,6 +32,6 @@ class ActivityLogDashlet extends Dashlet
public function listRequiredPermissions()
{
- return array('director/audit');
+ return [Permission::AUDIT];
}
}