2FA Enforcement does not apply to Minimal Access role
Brief Description
I have noticed from my testing for a GitLab Ultimate customer that 2FA enforcement on gitlab.com does not apply to users with the Minimal Access role. Once these users are added to a group/subgroup with Guest or above, they are susceptible to the 2FA enforcement.
Current Behaviour
Users with Minimal Access in a top-level group with 2FA enforcement enabled are not required to set up 2FA for their account.
Expected Behaviour
I would expect that with 2FA enforcement enabled, that all members in the group would have to enable 2FA regardless of their role.
Edited by 🤖 GitLab Bot 🤖