summaryrefslogtreecommitdiff
path: root/scripts/Verify-PublishedHttp.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Verify-PublishedHttp.ps1')
-rw-r--r--scripts/Verify-PublishedHttp.ps13
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/Verify-PublishedHttp.ps1 b/scripts/Verify-PublishedHttp.ps1
index 7dd5fe2..414e749 100644
--- a/scripts/Verify-PublishedHttp.ps1
+++ b/scripts/Verify-PublishedHttp.ps1
@@ -18,9 +18,6 @@ $evidence = [IO.Path]::GetFullPath((Join-Path $repository $EvidenceRoot))
if (-not $evidence.StartsWith($repository + [IO.Path]::DirectorySeparatorChar, [StringComparison]::OrdinalIgnoreCase)) {
throw 'Evidence output must remain inside the repository.'
}
-$administrator = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
- [Security.Principal.WindowsBuiltInRole]::Administrator)
-if (-not $administrator) { throw 'Published HTTP verification must run as Windows Administrator.' }
$agent = Join-Path $bundle 'agent-mcp.exe'
$config = Join-Path $bundle 'agent.yaml'