mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-29 04:42:00 +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 => {
|
||||
check => ['perm', '/nodes/{node}', [ 'Sys.Audit' ]],
|
||||
},
|
||||
protected => 1,
|
||||
description => "Gather various systems information about a node",
|
||||
proxyto => 'node',
|
||||
parameters => {
|
||||
|
Loading…
Reference in New Issue
Block a user