security: isolate artifact documents and default servers to execution-only

This commit is contained in:
2026-10-20 15:36:14 +01:00
parent db88cebd0b
commit f06281db08
10 changed files with 193 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ func TestScheduleSubmissionOverWebSocket(t *testing.T) {
t.Fatal(err)
}
defer store.Close()
handler := Handler(ctx, store)
handler := HandlerWithOptions(ctx, Options{AllowAuthoring: true}, store)
defer func() { cancel(); WaitRuns(handler) }()
srv := httptest.NewServer(handler)
defer srv.Close()