Based on the available knowledge sources, Ory allows you to enforce multi-factor authentication (MFA) at the level of flows or endpoints (such as login or settings) and for all users who have a second factor configured. You can set the required Authenticator Assurance Level (AAL) for specific operations, such as requiring AAL2 (MFA) for accessing account settings or for login flows. This enforcement can be set to "strict" (requiring the highest available AAL) or "lax" (requiring only AAL1) for all users or for specific flows. However, the documentation does not explicitly mention the ability to enforce MFA for a specific group of users based on group membership or user attributes. The enforcement appears to be global for all users or based on whether a user has a second factor configured, not on group membership or custom user segmentation. If you need per-group enforcement, you may need to implement additional logic outside of Ory's built-in configuration to handle this scenario. In summary, you can enforce MFA for all users or for all users with a second factor, but the knowledge sources do not describe a built-in way to enforce MFA only for a specific group of users based on group membership or traits alone [Step-up authentication](
https://www.ory.sh/docs/kratos/mfa/step-up-authentication) [Configure multi-factor authentication in Ory Kratos](
https://www.ory.sh/docs/kratos/self-hosted/mfa).