mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-29 08:06:46 +00:00
fix: check bulk cancel and restart against run, bound the run cache
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
734b81a5d2
commit
3b9fcde00f
@@ -70,7 +70,8 @@ saving of schedules and triggers, and the firing of triggers, which fetch their
|
||||
owner on every fire. A schedule's later runs are not re-checked, as they were never re-checked
|
||||
for read either: demoting its owner does not stop it. Flow steps, subflows and agent tools are not
|
||||
checked, as only the top-level run needs it. Its positive answers are cached, so every write that can take
|
||||
run away calls `notify_run_perms_change`. Anything that copies one of those rows (a new script
|
||||
run away calls `notify_run_perms_change`; the cache's 60s expiry bounds what that cannot see, such
|
||||
as an item deleted and recreated without the grant. Anything that copies one of those rows (a new script
|
||||
version, a rename, a fork, a workspace rename) must copy `view_only` too: a copy that drops it
|
||||
turns its viewers into runners.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user