diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/SingleServicesDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/SingleServicesDashlet.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php b/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php index 297b3f8..a7d648a 100644 --- a/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php +++ b/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php @@ -2,6 +2,8 @@ namespace Icinga\Module\Director\Dashboard\Dashlet; +use Icinga\Module\Director\Auth\Permission; + class SingleServicesDashlet extends Dashlet { protected $icon = 'service'; @@ -26,6 +28,6 @@ class SingleServicesDashlet extends Dashlet public function listRequiredPermissions() { - return array('director/services'); + return [Permission::SERVICES]; } } |