Commit 606cd8a
fix: add missing REVOKE on config-write functions (#64)
## Summary
- `set_config()` and `set_group_config()` were missing `REVOKE ALL ON
FUNCTION ... FROM PUBLIC`, allowing any database user to modify global
and per-group pipeline configuration
- All 12 other management functions already had this protection — these
two were the only gap
- Added ACL regression test coverage for both config-write (denied) and
config-read (allowed) functions
## Test plan
- [x] `make check-regression TEST=acl` — verifies `set_config` and
`set_group_config` are denied for non-superusers, and
`get_config`/`get_group_config` remain accessible
- [x] Full regression suite (42/42 tests pass)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 43eadd5 commit 606cd8a
3 files changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2611 | 2611 | | |
2612 | 2612 | | |
2613 | 2613 | | |
| 2614 | + | |
2614 | 2615 | | |
2615 | 2616 | | |
2616 | 2617 | | |
| |||
2691 | 2692 | | |
2692 | 2693 | | |
2693 | 2694 | | |
| 2695 | + | |
2694 | 2696 | | |
2695 | 2697 | | |
2696 | 2698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
54 | 76 | | |
55 | 77 | | |
56 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
0 commit comments