diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/UserGroupsDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/UserGroupsDashlet.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/library/Director/Dashboard/Dashlet/UserGroupsDashlet.php b/library/Director/Dashboard/Dashlet/UserGroupsDashlet.php new file mode 100644 index 0000000..3fba4ba --- /dev/null +++ b/library/Director/Dashboard/Dashlet/UserGroupsDashlet.php @@ -0,0 +1,31 @@ +<?php + +namespace Icinga\Module\Director\Dashboard\Dashlet; + +class UserGroupsDashlet extends Dashlet +{ + protected $icon = 'tags'; + + public function getTitle() + { + return $this->translate('User Groups'); + } + + public function getSummary() + { + return $this->translate( + 'Defining Notifications for User Groups instead of single Users' + . ' gives more flexibility' + ); + } + + public function getUrl() + { + return 'director/usergroups'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); + } +} |