Permission Path selection will show: '/sdn/zones/<zone>' '/sdn/fabrics/<fabric>'
The case 'network' is used because this will act as the top-level resource for all networking entities (including SDN). see: https://git.proxmox.com/?p=pve-manager.git;a=commit;h=9ac04d9572a458aeb891feb9b695d793cf7b122d Signed-off-by: David Riley <[email protected]> --- Notes: Differences from v2: * using record.get instead of direct data access Differences from v1: * Add signature www/manager6/data/PermPathStore.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/manager6/data/PermPathStore.js b/www/manager6/data/PermPathStore.js index 0a98846b..33e4cb21 100644 --- a/www/manager6/data/PermPathStore.js +++ b/www/manager6/data/PermPathStore.js @@ -36,6 +36,9 @@ Ext.define('PVE.data.PermPathStore', { case 'node': path = '/nodes/' + record.get('text'); break; + case 'network': + path = '/sdn/' + record.get('network-type') + 's/' + record.get('network'); + break; case 'qemu': path = '/vms/' + record.get('vmid'); break; -- 2.47.3
