[pve-devel] applied: [PATCH v2 pve-access-control 1/3] access control: add /sdn/zones/<zone>/<vnet>/<vlan> path

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jun 7 16:41:03 CEST 2023


applied this one, with a small fixup..

On June 7, 2023 2:03 pm, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  src/PVE/AccessControl.pm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/PVE/AccessControl.pm b/src/PVE/AccessControl.pm
> index 89b7d90..6a3d203 100644
> --- a/src/PVE/AccessControl.pm
> +++ b/src/PVE/AccessControl.pm
> @@ -1283,7 +1283,8 @@ sub check_path {
>  	|/pool/[[:alnum:]\.\-\_]+
>  	|/sdn
>  	|/sdn/zones/[[:alnum:]\.\-\_]+
> -	|/sdn/vnets/[[:alnum:]\.\-\_]+
> +	|/sdn/zones/[[:alnum:]\.\-\_]+/[[:alnum:]\.\-\_]+
> +	|/sdn/zones/[[:alnum:]\.\-\_]+/[[:alnum:]\.\-\_]+/[1-9][0-9]{0,3}
>  	|/storage
>  	|/storage/[[:alnum:]\.\-\_]+
>  	|/vms
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 
> 
> 





More information about the pve-devel mailing list