nixos/heimdal: correctly handle multitarget principals

This commit is contained in:
h7x4
2025-03-12 09:14:14 +01:00
parent 5a59e705cc
commit c4a5ef0c4a
@@ -21,7 +21,10 @@ let
target,
...
}:
"${principal}\t${lib.concatStringsSep "," (lib.toList access)}\t${target}"
if target != "*" && target != "" then
"${principal}\t${lib.concatStringsSep "," (lib.toList access)}\t${target}"
else
"${principal}\t${lib.concatStringsSep "," (lib.toList access)}"
) acl
))
(lib.mapAttrsToList (