Testably.Abstractions.AccessControl
6.6.0
Prefix Reserved
dotnet add package Testably.Abstractions.AccessControl --version 6.6.0
NuGet\Install-Package Testably.Abstractions.AccessControl -Version 6.6.0
<PackageReference Include="Testably.Abstractions.AccessControl" Version="6.6.0" />
<PackageVersion Include="Testably.Abstractions.AccessControl" Version="6.6.0" />
<PackageReference Include="Testably.Abstractions.AccessControl" />
paket add Testably.Abstractions.AccessControl --version 6.6.0
#r "nuget: Testably.Abstractions.AccessControl, 6.6.0"
#:package Testably.Abstractions.AccessControl@6.6.0
#addin nuget:?package=Testably.Abstractions.AccessControl&version=6.6.0
#tool nuget:?package=Testably.Abstractions.AccessControl&version=6.6.0
Testably.Abstractions.AccessControl
ACL extensions for Testably.Abstractions - adds the methods from System.IO.FileSystemAclExtensions to IFileSystem, so production code that reads or writes ACLs works against both the real and the mocked file system.
dotnet add package Testably.Abstractions.AccessControl
Full documentation: docs.testably.org/Abstractions/companion-libraries/access-control
IFileSystem fileSystem; // injected
DirectorySecurity acl = fileSystem.Directory.GetAccessControl("data");
fileSystem.Directory.SetAccessControl("backup", acl);
fileSystem.File.WriteAllText("secret.txt", "x");
FileSecurity fileAcl = fileSystem.File.GetAccessControl("secret.txt");
The package adds GetAccessControl / SetAccessControl (plus the DirectorySecurity overloads of CreateDirectory and DirectoryInfo.Create) to IDirectory, IDirectoryInfo, IFile, IFileInfo and FileSystemStream. On MockFileSystem the security object is stored with the entry and returned unchanged on read.
⚠️ The ACL APIs are marked
[SupportedOSPlatform("windows")]. Calling them on Linux or macOS throwsPlatformNotSupportedException.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
-
.NETStandard 2.1
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
-
net10.0
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
-
net6.0
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
-
net8.0
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
-
net9.0
- Testably.Abstractions.Interface (>= 10.2.0 && < 10.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Testably.Abstractions.AccessControl:
| Package | Downloads |
|---|---|
|
AnakinRaW.CommonUtilities.FileSystem
Helper classes and methods targeting the file system. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.6.0 | 0 | 6/1/2026 |
| 6.5.0 | 42 | 5/30/2026 |
| 6.4.0 | 747 | 5/17/2026 |
| 6.3.0 | 95 | 5/15/2026 |
| 6.2.0 | 165 | 4/10/2026 |
| 6.1.0 | 122 | 4/7/2026 |
| 6.1.0-pre.1 | 64 | 4/6/2026 |
| 6.0.1 | 127 | 3/30/2026 |
| 6.0.0 | 1,261 | 3/24/2026 |
| 6.0.0-pre.2 | 67 | 3/17/2026 |
| 6.0.0-pre.1 | 70 | 3/16/2026 |
| 5.4.0-pre.1 | 68 | 3/14/2026 |
| 5.3.1 | 127 | 3/8/2026 |
| 5.3.0 | 136 | 2/23/2026 |
| 5.2.0 | 135 | 2/20/2026 |
| 5.1.1 | 131 | 2/15/2026 |
| 5.1.0 | 140 | 2/2/2026 |
| 5.0.3 | 1,245 | 1/21/2026 |
| 5.0.2 | 236 | 1/10/2026 |
| 5.0.1 | 1,621 | 12/1/2025 |