mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-08 03:04:58 +00:00
fix wrong comment
This commit is contained in:
parent
bbd560974a
commit
bef4463b61
@ -2352,7 +2352,7 @@ __PACKAGE__->register_method({
|
|||||||
proxyto => 'node',
|
proxyto => 'node',
|
||||||
description => "Create a Template.",
|
description => "Create a Template.",
|
||||||
permissions => {
|
permissions => {
|
||||||
description => "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}. If you create disks you need 'Datastore.AllocateSpace' on any used storage.",
|
description => "You need 'VM.Allocate' permissions on /vms/{vmid} or on the VM pool /pool/{pool}.",
|
||||||
check => [ 'or',
|
check => [ 'or',
|
||||||
[ 'perm', '/vms/{vmid}', ['VM.Allocate']],
|
[ 'perm', '/vms/{vmid}', ['VM.Allocate']],
|
||||||
[ 'perm', '/pool/{pool}', ['VM.Allocate'], require_param => 'pool'],
|
[ 'perm', '/pool/{pool}', ['VM.Allocate'], require_param => 'pool'],
|
||||||
|
Loading…
Reference in New Issue
Block a user