diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/SelfServiceDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/SelfServiceDashlet.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/library/Director/Dashboard/Dashlet/SelfServiceDashlet.php b/library/Director/Dashboard/Dashlet/SelfServiceDashlet.php new file mode 100644 index 0000000..32b1cfa --- /dev/null +++ b/library/Director/Dashboard/Dashlet/SelfServiceDashlet.php @@ -0,0 +1,31 @@ +<?php + +namespace Icinga\Module\Director\Dashboard\Dashlet; + +class SelfServiceDashlet extends Dashlet +{ + protected $icon = 'chat'; + + public function getTitle() + { + return $this->translate('Self Service API'); + } + + public function getSummary() + { + return $this->translate( + 'Icinga Director offers a Self Service API, allowing new Icinga' + . ' nodes to register themselves' + ); + } + + public function getUrl() + { + return 'director/settings/self-service'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); + } +} |