diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/DeploymentDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/DeploymentDashlet.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/Director/Dashboard/Dashlet/DeploymentDashlet.php b/library/Director/Dashboard/Dashlet/DeploymentDashlet.php index 7a52793..83b4cea 100644 --- a/library/Director/Dashboard/Dashlet/DeploymentDashlet.php +++ b/library/Director/Dashboard/Dashlet/DeploymentDashlet.php @@ -3,6 +3,7 @@ namespace Icinga\Module\Director\Dashboard\Dashlet; use Exception; +use Icinga\Module\Director\Auth\Permission; use Icinga\Module\Director\Objects\DirectorDeploymentLog; class DeploymentDashlet extends Dashlet @@ -109,6 +110,6 @@ class DeploymentDashlet extends Dashlet public function listRequiredPermissions() { - return array('director/deploy'); + return [Permission::DEPLOY]; } } |