diff --git a/library/Director/Dashboard/Dashlet/ApiUserObjectDashlet.php b/library/Director/Dashboard/Dashlet/ApiUserObjectDashlet.php index d2b1a61c..f348d5f0 100644 --- a/library/Director/Dashboard/Dashlet/ApiUserObjectDashlet.php +++ b/library/Director/Dashboard/Dashlet/ApiUserObjectDashlet.php @@ -15,6 +15,11 @@ class ApiUserObjectDashlet extends Dashlet public function getUrl() { - return 'director/admin'; + return 'director/apiusers'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); } } diff --git a/library/Director/Dashboard/Dashlet/CommandObjectDashlet.php b/library/Director/Dashboard/Dashlet/CommandObjectDashlet.php index 7b8d0c58..c729a3ba 100644 --- a/library/Director/Dashboard/Dashlet/CommandObjectDashlet.php +++ b/library/Director/Dashboard/Dashlet/CommandObjectDashlet.php @@ -15,6 +15,11 @@ class CommandObjectDashlet extends Dashlet public function getUrl() { - return 'director/admin'; + return 'director/commands'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); } }