perun
perun copied to clipboard
feat(core): check MFA rules
- Method AuthzResolverBlImpl.isAuthorized was extended to check MFA rules. MFAPrivilegeException is thrown when a policy requires MFA on an object marked as critical, but the principal isn't authenticated with MFA.
- The MFA rules are checked only when config property enforceMfa is true.