๐ Enhancement: ๐ก๏ธ Organization-Level 2FA Management & Policy Control
- Dominant language
- TypeScript
- Stars
- 57.4k
- Forks
- 5.7k
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 276
Description
### ๐ Enhancement description
Enable organization administrators to manage 2FA settings for members, including policy enforcement, member 2FA reset, and bulk operations.
**๐ Feature Overview**
**Policy Control:**
- Enforce/disable/make optional 2FA for organization
- Organization-wide security policies
**Member Management:**
- Reset member 2FA (lost device scenarios)
- View 2FA status across organization
- Bulk policy application
### ๐ค Pitch
**Why implement this:**
- **๐ข Enterprise Compliance**: Required for SOC2, ISO27001 standards
- **๐ Incident Response**: Quick 2FA reset capabilities
- **๐ Centralized Control**: IT teams need organization-wide visibility
**Use Cases:**
- IT administrators managing security for engineering teams
- Compliance teams demonstrating security controls
- Support scenarios when employees lose devices
**๐ง API Example**
```javascript
// Enforce 2FA for organization
await organizations.updateSecurityPolicy({ enforce2FA: true });
// Reset member's 2FA
await organizations.resetMember2FA(memberId);
// View organization 2FA status
const status = await organizations.get2FAStatus();
```
**๐ Impact**
Critical for enterprise adoption - many businesses require centralized 2FA management for compliance and security governance.
### ๐ Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find similar issue
### ๐ข Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.