modcomms/backend/app
Vadym Samoilenko c6f7b0d5f1 Populate email on login for users with empty email field
When a user already exists in the DB, get_or_create_from_azure was
returning early without updating their email from Azure AD claims.
Users created before email sync was in place would permanently show
empty emails in User Management.

Now syncs email from Azure AD claims on each login if the stored
email is empty.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 15:45:48 +00:00
..
agents Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
api Grant oversight_admin write access to campaigns and proofs 2026-03-03 13:08:54 +00:00
dependencies Grant oversight_admin write access to campaigns and proofs 2026-03-03 13:08:54 +00:00
models Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00
repositories Populate email on login for users with empty email field 2026-03-03 15:45:48 +00:00
services Add toast notification when primary Gemini model falls back to backup 2026-03-02 13:00:12 +00:00
websocket Add debug logging to model_fallback callback in handlers.py 2026-03-02 13:08:25 +00:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
main.py Grant oversight_admin write access to campaigns and proofs 2026-03-03 13:08:54 +00:00