X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FAccessControl.pm;h=47f2d38b09c7f267e74978de506cb47cbdf8ae41;hb=cca4c0009e5f2826c4994bb6b1706e59141431d5;hp=21f93ffac2172e4a63412a1cbcf78d911a95156c;hpb=787e4c06e39faad5de94f02d6012504412cba6b9;p=pve-access-control.git diff --git a/src/PVE/AccessControl.pm b/src/PVE/AccessControl.pm index 21f93ff..47f2d38 100644 --- a/src/PVE/AccessControl.pm +++ b/src/PVE/AccessControl.pm @@ -951,7 +951,7 @@ sub iterate_acl_tree { my $children = $node->{children}; - foreach my $child (keys %$children) { + foreach my $child (sort keys %$children) { iterate_acl_tree("$path/$child", $children->{$child}, $code); } }