Commit f0a0253
committed
18194 FIX Host check command: crash when using "Use a custom check plug-in" option
When setting the "Use a custom check plug-in" option for the Host check command ruleset
and then logging in as a normal monitoring user without the permission to configure this
option, this would lead to a crash to both the UI and the REST API.
Now this option is still being display but not editable by users without permission.
SUP-23384
Change-Id: Id709889822f854f3010324944b64507828769a551 parent c73ca29 commit f0a0253
3 files changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3562 | 3562 | | |
3563 | 3563 | | |
3564 | 3564 | | |
| 3565 | + | |
| 3566 | + | |
| 3567 | + | |
| 3568 | + | |
| 3569 | + | |
3565 | 3570 | | |
3566 | | - | |
3567 | | - | |
3568 | | - | |
3569 | | - | |
3570 | 3571 | | |
3571 | 3572 | | |
3572 | 3573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
| |||
231 | 236 | | |
232 | 237 | | |
233 | 238 | | |
| 239 | + | |
234 | 240 | | |
235 | 241 | | |
236 | 242 | | |
| |||
0 commit comments