Querying the VM IP requires VM.GuestAgent.Audit now and accessing the QEMU HMP monitor requires Sys.Audit.
Reported-by: Max Carrara <m.carr...@proxmox.com> Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- www/manager6/qemu/AgentIPView.js | 4 ++-- www/manager6/qemu/Config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/manager6/qemu/AgentIPView.js b/www/manager6/qemu/AgentIPView.js index 14342cfb..f32409a9 100644 --- a/www/manager6/qemu/AgentIPView.js +++ b/www/manager6/qemu/AgentIPView.js @@ -137,9 +137,9 @@ Ext.define('PVE.qemu.AgentIPView', { var caps = Ext.state.Manager.get('GuiCap'); - if (!caps.vms['VM.Monitor']) { + if (!caps.vms['VM.GuestAgent.Audit']) { let errorText = gettext("Requires '{0}' Privileges"); - me.updateStatus(false, Ext.String.format(errorText, 'VM.Monitor')); + me.updateStatus(false, Ext.String.format(errorText, 'VM.GuestAgent.Audit')); return; } diff --git a/www/manager6/qemu/Config.js b/www/manager6/qemu/Config.js index 34ce888f..842d35de 100644 --- a/www/manager6/qemu/Config.js +++ b/www/manager6/qemu/Config.js @@ -345,7 +345,7 @@ Ext.define('PVE.qemu.Config', { }, ); - if (caps.vms['VM.Monitor'] && !template) { + if (caps.nodes['Sys.Audit'] && !template) { me.items.push({ title: gettext('Monitor'), iconCls: 'fa fa-eye', -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel