* [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths
@ 2025-08-13 13:54 Gabriel Goller
2025-08-13 13:56 ` Gabriel Goller
2025-08-22 9:01 ` Gabriel Goller
0 siblings, 2 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-08-13 13:54 UTC (permalink / raw)
To: pve-devel
With the addition of the fabrics status in the resources, there are
fabrics and zones using the 'sdn' type. The finer distinction between
zones and fabrics is done using the new 'sdn_type' parameter.
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
www/manager6/data/PermPathStore.js | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/www/manager6/data/PermPathStore.js b/www/manager6/data/PermPathStore.js
index c7ec42314c82..8a5344483f0d 100644
--- a/www/manager6/data/PermPathStore.js
+++ b/www/manager6/data/PermPathStore.js
@@ -43,7 +43,14 @@ Ext.define('PVE.data.PermPathStore', {
path = '/vms/' + record.get('vmid');
break;
case 'sdn':
- path = '/sdn/zones/' + record.get('sdn');
+ switch (record.get('sdn_type')) {
+ case 'zone':
+ path = '/sdn/zones/' + record.get('sdn');
+ break;
+ case 'fabric':
+ path = '/sdn/fabrics/' + record.get('sdn');
+ break;
+ }
break;
case 'storage':
path = '/storage/' + record.get('storage');
--
2.47.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths
2025-08-13 13:54 [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths Gabriel Goller
@ 2025-08-13 13:56 ` Gabriel Goller
2025-08-22 9:01 ` Gabriel Goller
1 sibling, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-08-13 13:56 UTC (permalink / raw)
To: pve-devel
This should have been a reply to:
https://lore.proxmox.com/pve-devel/20250813133023.288351-1-g.goller@proxmox.com/
Guess that didn't work out :(
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths
2025-08-13 13:54 [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths Gabriel Goller
2025-08-13 13:56 ` Gabriel Goller
@ 2025-08-22 9:01 ` Gabriel Goller
1 sibling, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-08-22 9:01 UTC (permalink / raw)
To: pve-devel
This patch is obsolete, new version included in this series:
https://lore.proxmox.com/pve-devel/20250822090102.102949-1-g.goller@proxmox.com/
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-22 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-13 13:54 [pve-devel] [PATCH manager] permissions: differentiate between zone and fabric paths Gabriel Goller
2025-08-13 13:56 ` Gabriel Goller
2025-08-22 9:01 ` Gabriel Goller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox