modcomms/backend
Vadym Samoilenko 138fa0fcdf Fix missing Submitter/Agency on Auditing Errors tab
The authenticated user's DB ID was fetched in main.py for a role check
but never forwarded to handle_analyze_message, so Proof.created_by was
always NULL. This caused submitter_name and submitter_agency to resolve
to None on the Errors tab.

Fix: capture current_user_id from the role-check session in main.py,
pass it to handle_analyze_message, and forward it to
add_version_with_review as created_by. Newly submitted proofs will now
have their submitter recorded and visible in all three Auditing tabs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 18:21:10 +00:00
..
alembic Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00
app Fix missing Submitter/Agency on Auditing Errors tab 2026-03-01 18:21:10 +00:00
.env.example Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile Fix large file preview and download issues 2026-01-25 08:06:41 -06:00
requirements.txt Switch LlamaParse to llama-cloud SDK with agentic_plus tier 2026-02-12 15:29:23 -06:00