mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-03 08:02:19 +00:00
make RunForm schedule props optional and expect 403 for operator drafts (#11449)
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
8953ca670a
commit
6fe992aebe
@@ -165,7 +165,7 @@ async fn test_update_draft_write_authorization(db: Pool<Postgres>) -> anyhow::Re
|
||||
.json(&json!({ "value": { "a": 1 } }))
|
||||
.send()
|
||||
.await?;
|
||||
assert_eq!(r.status(), 401, "operator rejected");
|
||||
assert_eq!(r.status(), 403, "operator rejected");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -116,9 +116,9 @@
|
||||
loading?: boolean
|
||||
noVariablePicker?: boolean
|
||||
viewKeybinding?: boolean
|
||||
scheduledForStr: string | undefined
|
||||
invisible_to_owner: boolean | undefined
|
||||
overrideTag: string | undefined
|
||||
scheduledForStr?: string | undefined
|
||||
invisible_to_owner?: boolean | undefined
|
||||
overrideTag?: string | undefined
|
||||
overrideTagNote?: string
|
||||
args?: Record<string, any>
|
||||
jsonView?: boolean
|
||||
|
||||
Reference in New Issue
Block a user