mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-12-01 08:10:13 +00:00
test: check the reason for the unsandboxed mode-only refusal
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
881c81b676
commit
3d549593e4
@@ -266,6 +266,7 @@ async fn test_access_mode_only_update(db: Pool<Postgres>) -> anyhow::Result<()>
|
||||
)
|
||||
.await?;
|
||||
assert_eq!(status, 403, "{body}");
|
||||
assert!(body.contains("is not sandboxed"), "{body}");
|
||||
let p = policy(&db, BUILT).await?;
|
||||
assert!(p.get("sandbox").is_none(), "{p}");
|
||||
assert_eq!(p["execution_mode"], "anonymous");
|
||||
|
||||
Reference in New Issue
Block a user