diff options
author | Simon Rettberg | 2022-07-04 18:25:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-07-04 18:25:06 +0200 |
commit | 9ca5c9bca40fa7e962b932364228731a6b9714a8 (patch) | |
tree | aae9463091b88826b6a931013ae6eab1935d6df6 /modules-available/statistics/pages/list.inc.php | |
parent | [statistics] Add a few more RAM/HDD size groups, future is catching up.. (diff) | |
download | slx-admin-9ca5c9bca40fa7e962b932364228731a6b9714a8.tar.gz slx-admin-9ca5c9bca40fa7e962b932364228731a6b9714a8.tar.xz slx-admin-9ca5c9bca40fa7e962b932364228731a6b9714a8.zip |
[js_chart] Update to Chart.js 3.0.8
Diffstat (limited to 'modules-available/statistics/pages/list.inc.php')
-rw-r--r-- | modules-available/statistics/pages/list.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/statistics/pages/list.inc.php b/modules-available/statistics/pages/list.inc.php index 4eac2ee5..0e405bf5 100644 --- a/modules-available/statistics/pages/list.inc.php +++ b/modules-available/statistics/pages/list.inc.php @@ -65,6 +65,7 @@ class SubPage $shutdownAllowedLocations = User::getAllowedLocations('.rebootcontrol.action.reboot'); $wolAllowedLocations = User::getAllowedLocations('.rebootcontrol.action.wol'); $execAllowedLocations = User::getAllowedLocations('.rebootcontrol.action.exec'); + $benchmarkAllowedLocations = User::getAllowedLocations('.vmstore.benchmark'); // Only make client clickable if user is allowed to view details page $detailsAllowedLocations = User::getAllowedLocations("machine.view-details"); $location = self::buildLocationLookup(); @@ -139,6 +140,7 @@ class SubPage 'canDelete' => !empty($deleteAllowedLocations), 'canWol' => !empty($wolAllowedLocations), 'canExec' => !empty($execAllowedLocations), + 'canBenchmark' => !empty($benchmarkAllowedLocations), ); Render::addTemplate('clientlist', $data); } |