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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| handlers.py | ||
| manager.py | ||