Commit 19a030e
James Blair
fix: review feedback on ForbiddenResult and dashboard 403 handling
- Remove unnecessary 'new' keyword on Result<T>.Forbidden (CS0109 warning)
- ForbiddenResult doc comment no longer references ProblemDetails (Kernel
should be unconcerned with web serialization)
- Dashboard checks for requiredIal in 403 response body, not just status
code, to distinguish IAL-related 403 from other authorization failures1 parent acb6c01 commit 19a030e
3 files changed
Lines changed: 9 additions & 5 deletions
File tree
- src
- SEBT.Portal.Kernel
- Results
- SEBT.Portal.Web/src/features/household/components/DashboardContent
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
0 commit comments