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:
Ruben Fiszel
2026-10-01 07:03:53 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 8953ca670a
commit 6fe992aebe
2 changed files with 4 additions and 4 deletions
@@ -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(())
}
+3 -3
View File
@@ -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