Method ResolveAuthorizedHostPath
- Namespace
- Oscova.Agents.Utils
- Assembly
- Oscova.Agents.dll
ResolveAuthorizedHostPath(string, IReadOnlyList<AllowedDirectory>, WorkspacePathAccess)
Resolves and authorizes an agent path against current directory grants, including symlink and access checks.
public static string ResolveAuthorizedHostPath(string requestedPath, IReadOnlyList<AllowedDirectory> allowedDirectories, WorkspacePathAccess requiredAccess)Parameters
requestedPathstringallowedDirectoriesIReadOnlyList<AllowedDirectory>requiredAccessWorkspacePathAccess