mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-30 21:32:34 +00:00
Use protected mode to be able to execute root system commands
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
This commit is contained in:
parent
cdb5a20942
commit
6bbdf981d1
@ -1137,6 +1137,7 @@ __PACKAGE__->register_method({
|
|||||||
permissions => {
|
permissions => {
|
||||||
check => ['perm', '/nodes/{node}', [ 'Sys.Audit' ]],
|
check => ['perm', '/nodes/{node}', [ 'Sys.Audit' ]],
|
||||||
},
|
},
|
||||||
|
protected => 1,
|
||||||
description => "Gather various systems information about a node",
|
description => "Gather various systems information about a node",
|
||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
parameters => {
|
parameters => {
|
||||||
|
Loading…
Reference in New Issue
Block a user