pve-manager/www
Aaron Lauterer a1e25c47f3 ui: qemu/HardwareView: fix CDRom permission checkss
There are several types of drives that use the same config keys. Most
notably CDRom and regular VM disks (EFI and cloudinit exist as well).

Since there is a dedicated permission for CDRom drives we need to check
permissions in more detail, depending on what type of drive it actually
is for things like the edit, remove and Add -> CDRom buttons.

The permission check in the row definition itself which only checked for
'VM.Config.Disk' permissions (never_delete) had to be removed and finer
grained checks added for the individual buttons. This also meant a bit
of reshuffling in the checks what kind of disk the current one is.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-19 17:22:30 +01:00
..
css add CD ROM and lxc icons for treelist-item-icon 2020-11-15 18:41:11 +01:00
images add sdn icons 2020-03-26 12:17:53 +01:00
manager6 ui: qemu/HardwareView: fix CDRom permission checkss 2021-02-19 17:22:30 +01:00
mobile mobile: implement login with OTP based TFA enabled 2019-10-01 16:01:29 +02:00
index.html.tpl add the css/images from proxmox widget toolkit 2019-08-13 15:38:39 +02:00
Makefile ui: add qrcode.min.js 2019-04-03 15:26:37 +02:00
qrcode.min.js ui: add qrcode.min.js 2019-04-03 15:26:37 +02:00
u2f-api.js add u2f-api.js 2019-04-03 15:26:37 +02:00