Feat(Chore, Fix): Refractor, Half Baked Deletion + Admin Privilege
Refractor Codes into sub file/folders Admin can remove users'/members mfa/2fa, unlink account from oauth provider Admin can add/reset password Different Email (OIDC + Manual)-Same Account; (Block Linking and authorize if available)
This commit is contained in:
@@ -90,6 +90,10 @@ class AuditAction(str, Enum):
|
||||
TOTP_DISABLED = "totp.disabled"
|
||||
TOTP_BACKUP_CODE_USED = "totp.backup_code.used"
|
||||
TOTP_BACKUP_CODES_REGENERATED = "totp.backup_codes.regenerated"
|
||||
ADMIN_MFA_REMOVE = "admin.mfa.remove"
|
||||
ADMIN_OAUTH_UNLINK = "admin.oauth.unlink"
|
||||
ADMIN_PASSWORD_SET = "admin.password.set"
|
||||
ADMIN_EMAIL_VERIFY = "admin.email.verify"
|
||||
|
||||
# WebAuthn actions
|
||||
WEBAUTHN_REGISTER_INITIATED = "webauthn.register.initiated"
|
||||
|
||||
Reference in New Issue
Block a user