Persist custom acl

This commit is contained in:
Manuel Thalmann 2023-06-30 01:57:45 +02:00
parent 7fbd17215e
commit ca48076167

View file

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