Persist custom acl

This commit is contained in:
Manuel Thalmann 2023-06-30 01:57:45 +02:00
parent ee89445da6
commit 865329e188

View file

@ -35,6 +35,8 @@ class Context {
[System.Security.AccessControl.InheritanceFlags]::ObjectInherit -bor [System.Security.AccessControl.InheritanceFlags]::ContainerInherit,
[System.Security.AccessControl.PropagationFlags]::None,
[System.Security.AccessControl.AccessControlType]::Allow));
Set-Acl $this.ConfigRoot $acl;
}
return Get-Item $this.ConfigRoot;