[pve-devel] [PATCH manager v2 1/2] ui: lxc/Options: allow opening features window for VM.Allocate
Dominik Csapak
d.csapak at proxmox.com
Wed Aug 4 12:51:10 CEST 2021
since VM.Allocate can at least change the nesting value
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/lxc/Options.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js
index b64d03a9..f2661dfc 100644
--- a/www/manager6/lxc/Options.js
+++ b/www/manager6/lxc/Options.js
@@ -136,7 +136,7 @@ Ext.define('PVE.lxc.Options', {
features: {
header: gettext('Features'),
defaultValue: Proxmox.Utils.noneText,
- editor: Proxmox.UserName === 'root at pam'
+ editor: Proxmox.UserName === 'root at pam' || caps.vms['VM.Allocate']
? 'PVE.lxc.FeaturesEdit' : undefined,
},
hookscript: {
--
2.30.2
More information about the pve-devel
mailing list