mirror of
git://git.proxmox.com/git/pve-access-control.git
synced 2025-01-18 06:03:47 +03:00
fix #5335: sort ACL entries in user.cfg
Stable sorting in user.cfg config file allows tracking changes by checking into git or when using automation like ansible. Signed-off-by: Daniel Krambrock <krambrock@hrz.uni-marburg.de> Tested-by: Folge Gleumes <f.gleumes@proxmox.com>
This commit is contained in:
parent
787e4c06e3
commit
cca4c0009e
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user