mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
feat: gate the new app-runnable preview tool on run_preview
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L99mAR4LitqTcYY1Kn1ATH
This commit is contained in:
co-authored by
Claude Opus 5
parent
01048ae7ce
commit
5f7ec4e2c0
@@ -139,6 +139,9 @@ export const SESSION_TOOL_POLICIES: Record<string, SessionToolPolicy> = {
|
||||
test_run_script: RUN_PREVIEW,
|
||||
test_run_flow: RUN_PREVIEW,
|
||||
test_run_step: RUN_PREVIEW,
|
||||
// Reaches apps.rs `execute_component` rather than jobs.rs, but that handler
|
||||
// refuses operators too once `force_viewer_static_fields` marks it a preview.
|
||||
test_run_app_runnable: RUN_PREVIEW,
|
||||
|
||||
// ── Pipeline editor ─────────────────────────────────────────────────────
|
||||
get_pipeline_graph: NONE,
|
||||
|
||||
Reference in New Issue
Block a user