Commit 6f29e73
fix: combine ClickHouse app user grants into single query (HDX-3832) (#198)
## Summary
- The ClickHouse operator only applies the first `grants` entry when
multiple are listed separately
- The `app` user was missing `SELECT ON system.*` and `SELECT ON
default.*` permissions — only `GRANT SHOW ON *.*` was applied
- Combined all grants into a single query, matching the pattern that
works for the `otelcollector` user
## Test plan
- [x] `helm unittest charts/clickstack` — all 146 tests pass
- [x] Deploy and verify with `SHOW GRANTS FOR app` in ClickHouse —
should show all 3 permissions
Linear: HDX-3832
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9f9eb5d commit 6f29e73
File tree
2 files changed
+6
-3
lines changed- .changeset
- charts/clickstack
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
310 | | - | |
| 308 | + | |
311 | 309 | | |
312 | 310 | | |
313 | 311 | | |
| |||
0 commit comments