modcomms/backend/app
michael 99fa956c74 Fix submitter agency not loading in flagged/resolved audit queries
The selectinload for FlaggedItem.submitter and ResolvedItem.submitter
was not chaining .selectinload(User.agency), so the submitter's agency
was always None in the API response. This caused the "Submit Agency"
column to be empty in the Flags and Resolutions tabs of the Auditing
page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 09:15:35 -06:00
..
agents Standardise Issue/Recommendation formatting across all agents 2026-02-19 10:17:08 -06:00
api Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00
dependencies Add 4-tier RBAC backend: auth dependencies, role enforcement, agency filtering 2026-02-19 08:28:23 -06:00
models Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00
repositories Fix submitter agency not loading in flagged/resolved audit queries 2026-02-22 09:15:35 -06:00
services Standardise Issue/Recommendation formatting across all agents 2026-02-19 10:17:08 -06:00
websocket Wire up Errors tab in Auditing: auto-create ErrorItem on Analysis Error 2026-02-12 13:55:16 -06: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 Add 4-tier RBAC backend: auth dependencies, role enforcement, agency filtering 2026-02-19 08:28:23 -06:00