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/HostObjectDashlet.php | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 library/Director/Dashboard/Dashlet/HostObjectDashlet.php (limited to 'library/Director/Dashboard/Dashlet/HostObjectDashlet.php') diff --git a/library/Director/Dashboard/Dashlet/HostObjectDashlet.php b/library/Director/Dashboard/Dashlet/HostObjectDashlet.php new file mode 100644 index 0000000..10cff94 --- /dev/null +++ b/library/Director/Dashboard/Dashlet/HostObjectDashlet.php @@ -0,0 +1,25 @@ +translate('Host objects'); + } + + public function listRequiredPermissions() + { + return ['director/hosts']; + } + + public function getUrl() + { + return 'director/dashboard?name=hosts'; + } +} -- cgit v1.2.3