sdn: browser: fix Permissions.Modify

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2020-06-12 11:58:08 +02:00 committed by Thomas Lamprecht
parent 7b0ab1b482
commit 6e8e96925b

View File

@ -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();
}