public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH pve-manager] fix #7300: acl path include pre-generated zones and fabrics
@ 2026-03-11  9:30 David Riley
  2026-03-11  9:56 ` David Riley
  0 siblings, 1 reply; 2+ messages in thread
From: David Riley @ 2026-03-11  9:30 UTC (permalink / raw)
  To: pve-devel; +Cc: David Riley

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
---
 www/manager6/data/PermPathStore.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/manager6/data/PermPathStore.js b/www/manager6/data/PermPathStore.js
index c7ec4231..bba7c7e7 100644
--- a/www/manager6/data/PermPathStore.js
+++ b/www/manager6/data/PermPathStore.js
@@ -22,7 +22,7 @@ Ext.define('PVE.data.PermPathStore', {
     ],
 
     constructor: function (config) {
-        var me = this;
+        let me = this;
 
         config = config || {};
 
@@ -36,6 +36,9 @@ Ext.define('PVE.data.PermPathStore', {
                 case 'node':
                     path = '/nodes/' + record.get('text');
                     break;
+                case 'network':
+                    path = '/sdn/' + record.data['network-type'] + 's/' + record.data.network;
+                    break;
                 case 'qemu':
                     path = '/vms/' + record.get('vmid');
                     break;
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH pve-manager] fix #7300: acl path include pre-generated zones and fabrics
  2026-03-11  9:30 [PATCH pve-manager] fix #7300: acl path include pre-generated zones and fabrics David Riley
@ 2026-03-11  9:56 ` David Riley
  0 siblings, 0 replies; 2+ messages in thread
From: David Riley @ 2026-03-11  9:56 UTC (permalink / raw)
  To: pve-devel

superseded-by:
https://lore.proxmox.com/pve-devel/20260311094220.36579-1-d.riley@proxmox.com/T/#u





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-11  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-11  9:30 [PATCH pve-manager] fix #7300: acl path include pre-generated zones and fabrics David Riley
2026-03-11  9:56 ` David Riley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal