]> git.proxmox.com Git - pve-manager.git/commit
ui: improve permission handling for hardware
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 16 Jun 2023 13:05:41 +0000 (15:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Jun 2023 06:30:53 +0000 (08:30 +0200)
commit7becf34fddb261f9720764b416db41b0f23505d3
tree5d4d2557bc8fb1d065538ca86c9f1294230cb351
parent02f14aa838e52a1c60b77c2e9b63966c3aa59812
ui: improve permission handling for hardware

qemu/HardwareView:

with the new Hardware privileges, we want to adapt a few places where
we now allow to show the add/edit window with those permissions.

form/{PCI,USB}Selector:

increase the minHeight property of the PCI/USBSelector, so that
the user can see the error message if he has not enough permissions.

data/PermPathStore:

add '/hardware' to the list of acl paths

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/data/PermPathStore.js
www/manager6/form/PCISelector.js
www/manager6/form/USBSelector.js
www/manager6/qemu/HardwareView.js