Commit 867dc7f3 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

Use protected mode to be able to execute root system commands

Signed-off-by: 's avatarEmmanuel Kasper <e.kasper@proxmox.com>
parent d2fcf447
......@@ -1137,6 +1137,7 @@ __PACKAGE__->register_method({
permissions => {
check => ['perm', '/nodes/{node}', [ 'Sys.Audit' ]],
},
protected => 1,
description => "Gather various systems information about a node",
proxyto => 'node',
parameters => {
......
Markdown is supported
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