Unverified Commit baed6f5e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(systems) Add ACL on argonaut menu actions

issue #6131
Showing with 6 additions and 3 deletions
+6 -3
......@@ -72,11 +72,13 @@ class systemManagement extends management
foreach ($events as $name => $infos) {
$triggerActions[] = new Action(
'trigger_'.$name, $infos['name'], $infos['img'],
'*', 'handleEvent'
'*', 'handleEvent',
['argonautQueue/argonautAction/c']
);
$scheduleActions[] = new Action(
'schedule_'.$name, $infos['name'], $infos['img'],
'*', 'handleEvent'
'*', 'handleEvent',
['argonautQueue/argonautAction/c']
);
}
$this->registerAction(
......@@ -97,7 +99,8 @@ class systemManagement extends management
$this->registerAction(
new Action(
'ping', _('Ping'), 'geticon.php?context=actions&icon=task-start&size=16',
'+', 'pingSystems'
'+', 'pingSystems',
['argonautQueue/argonautAction/c']
)
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment