[pve-devel] [PATCH pve-manager] sdn: browser: fix Permissions.Modify

Alexandre Derumier aderumier at odiso.com
Fri Jun 12 11:58:08 CEST 2020


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager6/sdn/Browser.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/sdn/Browser.js b/www/manager6/sdn/Browser.js
index 20944bd5..1415f966 100644
--- a/www/manager6/sdn/Browser.js
+++ b/www/manager6/sdn/Browser.js
@@ -34,7 +34,7 @@ Ext.define('PVE.sdn.Browser', {
 	    });
 	}
 
-//	if (caps.sdn['Permissions.Modify']) {
+	if (caps.sdn['Permissions.Modify']) {
 	    me.items.push({
 		xtype: 'pveACLView',
 		title: gettext('Permissions'),
@@ -42,7 +42,7 @@ Ext.define('PVE.sdn.Browser', {
 		itemId: 'permissions',
 		path: '/sdn/zones/' + sdnid
 	    });
-//	}
+	}
 
 	me.callParent();
    }
-- 
2.20.1




More information about the pve-devel mailing list