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/UserGroupsDashlet.php | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 library/Director/Dashboard/Dashlet/UserGroupsDashlet.php (limited to 'library/Director/Dashboard/Dashlet/UserGroupsDashlet.php') 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 @@ +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'); + } +} -- cgit v1.2.3