MUST A2: SuperAdmin excluded from ADR-012 MFA step-up on 4 consumer surfaces #169

Closed
opened 2026-11-12 06:30:52 +01:00 by amiryahaya · 0 comments
Owner

OidcCallback.cs:122-124, OidcVerify.cs:67+146, IdpCallback.cs:213, Authenticate.cs:66 gate on UserTenants Owner/Admin only; SystemRole.SuperAdmin omitted. Bootstrap SuperAdmin w/o memberships + no amr MFA factor = full session, /api/admin wide open (AdminFeature gates on SystemRole only). Fix: add || user.SystemRole == SystemRole.SuperAdmin in all 4 + amr test.

OidcCallback.cs:122-124, OidcVerify.cs:67+146, IdpCallback.cs:213, Authenticate.cs:66 gate on UserTenants Owner/Admin only; SystemRole.SuperAdmin omitted. Bootstrap SuperAdmin w/o memberships + no amr MFA factor = full session, /api/admin wide open (AdminFeature gates on SystemRole only). Fix: add || user.SystemRole == SystemRole.SuperAdmin in all 4 + amr test.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#169
No description provided.