[pve-devel] [PATCH access-control 1/2] properly register pve-poolid format

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Oct 19 12:05:58 CEST 2017


applied

On Tue, Oct 10, 2017 at 03:44:18PM +0200, Philip Abernethy wrote:
> was erroneously registered as verify_groupname, overriding the previous
> registration
> ---
>  PVE/AccessControl.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm
> index 07f0c21..f0fb7dc 100644
> --- a/PVE/AccessControl.pm
> +++ b/PVE/AccessControl.pm
> @@ -564,7 +564,7 @@ sub verify_rolename {
>      return $rolename;
>  }
>  
> -PVE::JSONSchema::register_format('pve-poolid', \&verify_groupname);
> +PVE::JSONSchema::register_format('pve-poolid', \&verify_poolname);
>  sub verify_poolname {
>      my ($poolname, $noerr) = @_;
>  
> -- 
> 2.11.0




More information about the pve-devel mailing list