Persist custom acl
This commit is contained in:
parent
ee89445da6
commit
865329e188
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue