The "Add CloudInit Drive" button in the UI was only enabled when the user had Sys.Console permissions, even if the other correct permissions were set. The backend check for these permissions also needed to be revamped to be more consistent.
Changes from v1: - Switch to purely checking for VM.Config.CDROM (discussed offlist) - Document VM.Config.Cloudinit in docs - Whitespaces fixes manager: Leo Nunner (1): fix #4321: properly check cloud-init drive permissions www/manager6/qemu/HardwareView.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) qemu-server: Leo Nunner (1): fix #4321: properly check cloud-init drive permissions PVE/API2/Qemu.pm | 6 ++++-- PVE/QemuServer/Drive.pm | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) docs: Leo Nunner (1): Document VM.Config.Cloudinit permission pveum.adoc | 1 + 1 file changed, 1 insertion(+) -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel