feat(app): admin and catalogue entries, step-up guard, MFA in Mon compte (V1-2.5 E, F)

Nav hint from own grants and roles (never a control); RequireCatalog, RequireAdmin (no admin read before aal2), Accès non autorisé page, placeholder routes; TOTP factor list, enrolment with QR and one-time secret, removal, inline step-up for aal2 actions, step-up in password reset; auth kind aal2_required. App 601, e2e:ui 227.
This commit is contained in:
bchanot committed 2026-11-02 16:49:37 +01:00
1 parent 99488d71d9
commit 4744e28986
38 files changed
+1818 -55

No files matched your search

@@ -39,7 +39,7 @@ function mount() {
}
describe('AccountRoute', () => {
it('shows the four sections, the roles and the sign-in address', () => {
it('shows the four sections, the roles and the sign-in address', async () => {
mount()
for (const key of [
'account.personal.title',
@@ -51,7 +51,7 @@ describe('AccountRoute', () => {
}
expect(screen.getByText(fr['shell.role.owner'])).toBeInTheDocument()
expect(screen.getByText('alice@example.test')).toBeInTheDocument()
expect(screen.getByText(fr['account.security.mfa_note'])).toBeInTheDocument()
expect(await screen.findByText(fr['mfa.factor.none'])).toBeInTheDocument()
})
it('saves personal information, empty optionals as null', async () => {