Repository navigation
Commit b68c550
committed
fix(api): add missing 403 to GET /api/config and GET /api/config/service/{service}
Both handlers call requirePermission("view","config") but the spec only
declared 403 on their PUT counterparts. The regression test added in this
PR caught the gap. Add the missing 403 response to both GET operations.1 parent c5c741c commit b68c550
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| |||
0 commit comments