all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-access-control] check_path : add sdn zone path
@ 2021-06-09  4:37 Alexandre Derumier
  2021-06-17 11:16 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Derumier @ 2021-06-09  4:37 UTC (permalink / raw)
  To: pve-devel

This was missing in commit20c60513b2a6b2d7c7aae0dcc0391889b9cb7ecf,
so user can't assign permisson on a zone currently
---
 src/PVE/AccessControl.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/AccessControl.pm b/src/PVE/AccessControl.pm
index 888875e..4754c5c 100644
--- a/src/PVE/AccessControl.pm
+++ b/src/PVE/AccessControl.pm
@@ -945,6 +945,7 @@ sub check_path {
 	|/pool
 	|/pool/[[:alnum:]\.\-\_]+
 	|/sdn
+        |/sdn/zones/[[:alnum:]\.\-\_]+
 	|/storage
 	|/storage/[[:alnum:]\.\-\_]+
 	|/vms
-- 
2.20.1




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

* [pve-devel] applied: [PATCH pve-access-control] check_path : add sdn zone path
  2021-06-09  4:37 [pve-devel] [PATCH pve-access-control] check_path : add sdn zone path Alexandre Derumier
@ 2021-06-17 11:16 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-06-17 11:16 UTC (permalink / raw)
  To: Proxmox VE development discussion, Alexandre Derumier

On 09.06.21 06:37, Alexandre Derumier wrote:
>

applied, thanks! squashed in a fix for the indentation (tab vs. 8 spaces).




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

end of thread, other threads:[~2021-06-17 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09  4:37 [pve-devel] [PATCH pve-access-control] check_path : add sdn zone path Alexandre Derumier
2021-06-17 11:16 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal