Commit 74f706f
committed
feat(sybil-gate): clearer declined-state recovery CTA
The view-gate 'declined' state (signed-in viewer who withheld the
account-strength scope) walled users without an obvious fix. Minister
now pre-checks the account-strength scope, so re-authenticating shares
it. Sharpen the declined primary CTA into an explicit recovery action
('Share your account strength to get in') on the existing authHref link;
the null-authHref fallback (Minister disabled -> explanatory copy, no
dead button) is unchanged. Presentation only: gate logic
(requireViewBucket / gatePageOrRedirect / buildGateView, fail-closed)
untouched. Add buildGateView unit coverage locking the declined CTA's
authHref data contract in both minister-enabled and -disabled cases.1 parent 4ef8b6b commit 74f706f
2 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
0 commit comments