From f66ab8dae2f3d0418759f81a3a64dc9517a62449 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:17:31 +0200 Subject: Adding upstream version 1.10.2. Signed-off-by: Daniel Baumann --- .../Dashboard/Dashlet/ServiceGroupsDashlet.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 library/Director/Dashboard/Dashlet/ServiceGroupsDashlet.php (limited to 'library/Director/Dashboard/Dashlet/ServiceGroupsDashlet.php') diff --git a/library/Director/Dashboard/Dashlet/ServiceGroupsDashlet.php b/library/Director/Dashboard/Dashlet/ServiceGroupsDashlet.php new file mode 100644 index 0000000..ad47768 --- /dev/null +++ b/library/Director/Dashboard/Dashlet/ServiceGroupsDashlet.php @@ -0,0 +1,31 @@ +translate('Service Groups'); + } + + public function getSummary() + { + return $this->translate( + 'Defining Service Groups get more structure. Great for Dashboards.' + . ' Notifications and Permissions might be based on groups.' + ); + } + + public function getUrl() + { + return 'director/servicegroups'; + } + + public function listRequiredPermissions() + { + return array('director/admin'); + } +} -- cgit v1.2.3