pve-manager/www/manager6
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
..
button ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
ceph ui: ceph: fix keeping selection after operation 2021-01-26 18:21:44 +01:00
controller ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
data fixes #3066: resourcestore: add vm hostcpu/hostmem fields 2021-02-06 15:16:22 +01:00
dc ui: dc/TokenEdit: fix editing existing tokens 2021-02-19 16:37:51 +01:00
form ui: eslint: enforce "dot-notation" rule 2021-01-19 17:45:01 +01:00
grid ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
ha ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
lxc ui: eslint: some more trailing comma fixes 2021-01-19 17:48:50 +01:00
menu ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
node ui: disk list: include partitions 2021-02-09 12:01:54 +01:00
panel ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
pool ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
qemu ui: qemu/HardwareView: fix CDRom permission checkss 2021-02-19 17:22:30 +01:00
sdn ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00
storage ui: eslint: enforce "dot-notation" rule 2021-01-19 17:45:01 +01:00
tree ui: eslint: enforce "no-extra-boolean-cast" rule 2021-01-19 17:43:40 +01:00
window ui: window/Settings: fix labelWidth for saved user name 2021-02-19 16:35:22 +01:00
Makefile ui: storage backup view: add prune window 2020-11-24 14:13:20 +01:00
Parser.js ui: eslint: some more trailing comma fixes 2021-01-19 17:48:50 +01:00
StateProvider.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
Toolkit.js ui: eslint: fix trailing comma and comma related whitespaces errors 2021-01-19 17:31:03 +01:00
Utils.js fixes #3066: resourcestore: add vm hostcpu/hostmem fields 2021-02-06 15:16:22 +01:00
VNCConsole.js ui: eslint: fix various spacing related issues 2021-01-19 17:39:15 +01:00
Workspace.js ui: eslint: enforce "no-extra-parens" rule 2021-01-19 17:42:36 +01:00