mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-10-04 22:29:06 +00:00
user.cfg: sort ACL members
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
93c7e9c3d0
commit
9b3ae1efe3
@ -1135,11 +1135,11 @@ sub write_user_config {
|
||||
}
|
||||
|
||||
foreach my $rolelist (sort keys %{$ra->{0}}) {
|
||||
my $uglist = join (',', keys %{$ra->{0}->{$rolelist}});
|
||||
my $uglist = join (',', sort keys %{$ra->{0}->{$rolelist}});
|
||||
$data .= "acl:0:$path:$uglist:$rolelist:\n";
|
||||
}
|
||||
foreach my $rolelist (sort keys %{$ra->{1}}) {
|
||||
my $uglist = join (',', keys %{$ra->{1}->{$rolelist}});
|
||||
my $uglist = join (',', sort keys %{$ra->{1}->{$rolelist}});
|
||||
$data .= "acl:1:$path:$uglist:$rolelist:\n";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user