mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-11 22:43:53 +00:00
VM.Snapshot.Rollback privilege added
VM.Snapshot.Rollback privilege added Signed-off-by: Matthias Urban <matthias.urban@pure-systems.com>
This commit is contained in:
parent
6cb0144ae3
commit
c268337d93
@ -3342,7 +3342,7 @@ __PACKAGE__->register_method({
|
||||
proxyto => 'node',
|
||||
description => "Get snapshot configuration",
|
||||
permissions => {
|
||||
check => ['perm', '/vms/{vmid}', [ 'VM.Snapshot' ]],
|
||||
check => ['perm', '/vms/{vmid}', [ 'VM.Snapshot', 'VM.Snapshot.Rollback' ], any => 1],
|
||||
},
|
||||
parameters => {
|
||||
additionalProperties => 0,
|
||||
@ -3381,7 +3381,7 @@ __PACKAGE__->register_method({
|
||||
proxyto => 'node',
|
||||
description => "Rollback VM state to specified snapshot.",
|
||||
permissions => {
|
||||
check => ['perm', '/vms/{vmid}', [ 'VM.Snapshot' ]],
|
||||
check => ['perm', '/vms/{vmid}', [ 'VM.Snapshot', 'VM.Snapshot.Rollback' ], any => 1],
|
||||
},
|
||||
parameters => {
|
||||
additionalProperties => 0,
|
||||
|
Loading…
Reference in New Issue
Block a user