fix #3635: fix overly-strict pool permission check on create
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 22 Oct 2021 06:44:13 +0000 (08:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 11 Feb 2022 07:28:14 +0000 (08:28 +0100)
commit25717f5e1b5862deb55b0ee5eb459f613a236ac8
tree7953dd3c8006c1544863dbe27271b0bd8e3a4bf2
parent2b5f81f5f93443947a76f09ac6c3a5aebb3b75bd
fix #3635: fix overly-strict pool permission check on create

we do not need Permissions.Modify on the pool as the actual required
check for 'VM.Allocate' for that pool is already handled below, so
remove it like we did in qemu-server 4fc5242 ("fix pool permission
checks on create")

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm