[pve-devel] [RFC 08/23] refactor acl transformation code

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Oct 17 17:24:11 CEST 2019


On 10/17/19 3:14 PM, Fabian Grünbichler wrote:
> pull it into helper sub, since we need this one more time for token ACL
> members.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>  PVE/AccessControl.pm | 61 +++++++++++++++++++-------------------------
>  1 file changed, 26 insertions(+), 35 deletions(-)
> 
> diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm
> index a84173e..48c9930 100644
> --- a/PVE/AccessControl.pm
> +++ b/PVE/AccessControl.pm
> @@ -1092,47 +1092,38 @@ sub write_user_config {
>  
>      $data .= "\n";
>  
> +    my $collect_ra = sub {

OK, besides my wish that ra would be actually written out, or at
least spelled in a less cryptic way.






More information about the pve-devel mailing list