[pve-devel] [PATCH manager 0/7] ui: qemu/HardwareView: fix GUI permission checks and make eslint happier

Aaron Lauterer a.lauterer at proxmox.com
Mon Feb 1 15:21:24 CET 2021


This series fixes two permission checks in the HardwareView panel:

* Add -> EFI Disk button
* Edit button for CDROM drives

to only show them as enabled if the necessary permissions are available.

Additionally it contains a few patches to make eslint happy.

Aaron Lauterer (7):
  ui: qemu/HardwareView: eslint: enforce "no-mixed-operators" rule
  ui: qemu/HardwareView: eslint: enforce "max-len" rule
  ui: qemu/HardwareView: eslint: enforce "no-useless-concat" rule
  ui: qemu/HardwareView: eslint: enforce "no-shadow" rule
  ui: qemu/HardwareView: change heuristic perms to const
  ui: qemu/HardwareView: check EFI Disk button permissions
  ui: qemu/HardwareView: add CDROM permission check to edit button

 www/manager6/qemu/HardwareView.js | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

-- 
2.20.1





More information about the pve-devel mailing list