[pve-devel] [PATCH pve-access-control] check_path: add /sdn/vnets/* path

Alexandre Derumier aderumier at odiso.com
Thu Aug 5 17:00:44 CEST 2021


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 src/PVE/AccessControl.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/AccessControl.pm b/src/PVE/AccessControl.pm
index 3d8d01c..a9d97e8 100644
--- a/src/PVE/AccessControl.pm
+++ b/src/PVE/AccessControl.pm
@@ -944,6 +944,7 @@ sub check_path {
 	|/pool/[[:alnum:]\.\-\_]+
 	|/sdn
 	|/sdn/zones/[[:alnum:]\.\-\_]+
+	|/sdn/vnets/[[:alnum:]\.\-\_]+
 	|/storage
 	|/storage/[[:alnum:]\.\-\_]+
 	|/vms
-- 
2.30.2





More information about the pve-devel mailing list