Files
windmill/frontend/src/lib/components
Ruben FiszelandClaude Opus 4.5 c143e78d7f feat(raw-apps): add ctx input type for secure backend-resolved user context (#7621)
* feat(raw-apps): add ctx input type for secure backend-resolved user context

Add support for ctx inputs in raw app backend runnables, allowing
developers to securely access user context (username, email, groups,
workspace, author) that is resolved by the backend and cannot be
altered by users.

- Add CtxInput type with { type: 'ctx', ctx: 'property' } syntax
- Add ctx toggle option in RawAppInputsSpecEditor with property selector
- Show current user's actual values in ctx property dropdown
- Convert ctx fields to $ctx:property format when executing runnables
- Use actual user values when testing in editor
- Preserve fieldType when switching input types
- Fix computeFields to preserve inputs without fieldType

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: use Object.assign instead of spread for type compatibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 08:27:46 +00:00
..
2025-12-11 13:34:17 +00:00
2025-09-11 07:57:01 +00:00
2026-01-09 04:30:46 +00:00
2025-12-23 18:19:30 +00:00
2025-12-05 23:08:58 +00:00
2025-10-30 06:47:26 +00:00
2025-10-28 17:52:04 +00:00
2026-01-08 17:26:04 +00:00
2025-12-16 21:16:42 +00:00
2025-11-29 01:23:47 +00:00
2025-12-27 12:35:19 +00:00
2025-10-27 15:48:59 +00:00
2025-11-04 19:13:09 +00:00
2025-11-12 13:39:32 +00:00
2025-10-27 23:42:52 +00:00
2025-11-29 01:23:47 +00:00
2025-08-10 23:24:36 +00:00
2025-07-19 06:59:49 +00:00
2025-09-27 08:04:17 +00:00
2025-09-11 06:58:39 +00:00
2025-11-27 06:41:20 +00:00
2025-11-04 19:13:09 +00:00
2025-06-30 00:07:35 +00:00
2025-11-29 01:23:47 +00:00
2025-07-17 22:15:01 +00:00
2025-07-29 19:28:54 +00:00
2025-07-08 06:47:08 +00:00
2025-07-29 19:28:54 +00:00
2025-12-05 23:08:58 +00:00
2025-12-27 12:35:19 +00:00
2025-10-16 14:41:12 +00:00
2025-06-28 20:13:55 +02:00
2025-10-27 15:46:28 +00:00
2025-09-09 21:04:23 +00:00
2025-12-27 12:35:19 +00:00