Commit 0c0d520
committed
feat(security): gate Approve modal on baseline dangerous findings (Spec 077 US1)
Related #784
Related: Spec 077 (specs/077-scanner-simplification)
The server Approve confirmation now blocks on baseline DANGEROUS (hard-tier)
findings only (FR-021), mirroring the tier-driven server verdict, instead of
`critical` severity — a non-blocking soft finding can be high/critical severity
yet must not gate approval. Applied to both ServerDetail.vue and ServerCard.vue
(same approval gate), with the dialog wording updated to "dangerous".
## Testing
- vue-tsc --noEmit clean; vite build succeeds.1 parent b6f8902 commit 0c0d520
2 files changed
Lines changed: 22 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
727 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
728 | 731 | | |
729 | 732 | | |
730 | | - | |
| 733 | + | |
731 | 734 | | |
732 | | - | |
| 735 | + | |
733 | 736 | | |
734 | 737 | | |
735 | 738 | | |
| |||
750 | 753 | | |
751 | 754 | | |
752 | 755 | | |
753 | | - | |
| 756 | + | |
754 | 757 | | |
755 | 758 | | |
756 | 759 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
2399 | 2399 | | |
2400 | 2400 | | |
2401 | 2401 | | |
2402 | | - | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
2403 | 2408 | | |
2404 | 2409 | | |
2405 | 2410 | | |
2406 | | - | |
| 2411 | + | |
2407 | 2412 | | |
2408 | | - | |
| 2413 | + | |
2409 | 2414 | | |
2410 | 2415 | | |
2411 | 2416 | | |
| |||
2421 | 2426 | | |
2422 | 2427 | | |
2423 | 2428 | | |
2424 | | - | |
| 2429 | + | |
2425 | 2430 | | |
2426 | 2431 | | |
2427 | 2432 | | |
| |||
0 commit comments