Charis
0433eeb5f5
feat(studio): mark sql provenance for safety ( #45336 )
...
Mark provenance of SQL via the branded types SafeSqlFragment and
UntrustedSqlFragment. Only SafeSqlFragment should be executed;
UntrustedSqlFragments require some kind of implicit user approval (show
on screen + user has to click something) before they are promoted to
SafeSqlFragment.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Editor and RLS tester show loading states for inferred/generated SQL
and include a dedicated user SQL editor for safer edits.
* **Refactor**
* Platform-wide SQL handling tightened: snippets and AI-generated SQL
are treated as untrusted/display-only until promoted, improving safety
and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-04 13:08:06 -04:00
..
2026-04-30 07:16:06 -06:00
2026-05-04 13:08:06 -04:00
2026-04-30 07:09:58 -06:00
2026-05-01 14:05:42 +08:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2024-11-25 13:26:22 +01:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-05-04 13:08:06 -04:00
2026-04-27 17:42:34 +08:00
2026-04-01 10:22:37 +02:00
2026-04-28 11:33:53 +02:00
2026-04-30 10:53:24 +00:00
2026-05-04 07:08:35 -06:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-01 10:22:37 +02:00
2026-04-01 10:22:37 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-05-04 12:45:50 +02:00
2026-04-30 10:53:24 +00:00
2026-04-29 04:08:09 +00:00
2026-04-01 10:22:37 +02:00
2026-04-30 10:53:24 +00:00
2026-04-08 14:40:05 +00:00
2026-05-01 14:05:42 +08:00
2026-04-01 10:22:37 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-01 10:22:37 +02:00
2026-04-01 10:22:37 +02:00
2026-04-01 10:22:37 +02:00
2025-01-17 19:50:16 +10:00
2026-01-23 15:29:02 +08:00
2025-05-27 15:50:42 +02:00
2025-03-28 15:51:19 +08:00
2026-04-30 10:53:24 +00:00
2025-11-13 15:13:03 +08:00
2026-04-29 06:45:31 -06:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-01 10:22:37 +02:00
2026-04-01 10:22:37 +02:00
2026-04-01 10:22:37 +02:00
2026-05-01 10:18:20 +08:00
2026-04-30 10:53:24 +00:00
2026-04-27 11:07:06 +02:00
2026-04-16 15:31:04 +02:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2025-08-22 10:15:07 +02:00
2026-04-06 10:02:56 -04:00
2026-04-14 12:50:00 +09:00
2026-04-16 15:31:04 +02:00
2026-04-28 11:33:53 +02:00
2025-11-03 03:37:22 +00:00
2026-04-28 11:33:53 +02:00
2025-12-10 09:41:31 +11:00
2025-12-12 20:35:43 +11:00
2026-04-01 10:22:37 +02:00
2026-03-11 09:01:49 +00:00
2026-04-30 10:53:24 +00:00
2026-04-30 10:53:24 +00:00
2026-04-23 12:17:24 +10:00
2026-04-28 11:33:53 +02:00
2026-04-28 12:17:29 +10:00
2026-04-28 12:17:29 +10:00
2026-04-30 10:53:24 +00:00
2026-04-01 10:22:37 +02:00
2026-04-24 16:02:17 +08:00
2026-04-24 12:14:15 +02:00
2026-04-30 10:53:24 +00:00
2026-05-01 07:13:37 -06:00
2026-04-30 10:53:24 +00:00
2026-02-13 11:48:12 +01:00
2026-04-30 10:53:24 +00:00
2026-04-23 09:22:16 -06:00
2026-05-04 07:08:35 -06:00
2026-04-28 09:09:59 -06:00
2026-05-01 07:13:37 -06:00
2026-04-01 10:22:37 +02:00
2026-02-25 10:47:56 +11:00
2026-04-30 10:53:24 +00:00
2026-04-27 17:42:34 +08:00
2026-04-30 10:53:24 +00:00
2025-12-05 14:52:35 +00:00
2026-04-01 10:22:37 +02:00
2026-05-01 18:45:21 +08:00
2026-04-23 08:06:03 -06:00
2026-04-01 10:22:37 +02:00
2026-04-21 16:38:03 +12:00
2026-03-25 11:54:30 +01:00
2026-04-01 10:22:37 +02:00