]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/qemu/HardwareView.js
fix #2197: ui: editing CDROM doesn't require VM.Config.Disk rights
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 May 2019 17:24:24 +0000 (17:24 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 May 2019 17:27:49 +0000 (17:27 +0000)
commit10525ed71e8f18eac5a5f7609c7839249a9f475f
tree7dc32eac717124272013f0f3ca17da079fdc4a25
parentc0d4a151fd45a5867b1f2138facf772d12acdf62
fix #2197: ui: editing CDROM doesn't require VM.Config.Disk rights

A user which just has the default role PVEVMUser on a VM is able to
edit the CDROM, either to no media or if storage permissions are
available also to other ISOs, through the API. So reflect this again
for the WebUI. We could add a check for "VM.Config.CDROM", but that's
not really worth, if we keep in mind that the Ext.Caps state is
heuristically only.

fixes commit d35b5b2afbe9287a90129d861cf6fa27b91c1ed3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/HardwareView.js