- Added configuration options for Stalwart hosted mail in .env.example. - Updated Docker Compose to include Stalwart service with health checks. - Introduced new API endpoints for managing mail domains and migration projects. - Enhanced Authentik blueprints for user enrollment and post-migration security. - Updated OAuth handling for Google and Microsoft migration processes. - Improved error handling and response structures in the mail API. - Added integration tests for email claiming and migration workflows.
7 lines
325 B
SQL
7 lines
325 B
SQL
-- Microsoft app-only auth mode (client credentials, equivalent to Google DWD)
|
|
ALTER TABLE migration_projects DROP CONSTRAINT IF EXISTS migration_projects_auth_mode_check;
|
|
|
|
ALTER TABLE migration_projects
|
|
ADD CONSTRAINT migration_projects_auth_mode_check
|
|
CHECK (auth_mode IN ('oauth', 'google_dwd', 'microsoft_app'));
|