security: isolate artifact documents and default servers to execution-only
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user