modcomms/backend/app/api
Vadym Samoilenko 0432635153 Grant oversight_admin write access to campaigns and proofs
Oversight admins can now create campaigns, upload proofs, and
flag/resolve issues when they have an agency assigned. They retain
all existing cross-agency read access for analytics, auditing, and
user management. Oversight admins without an agency see a read-only
campaigns view.

Changes:
- Add oversight_admin to canWrite permission in UserContext
- Guard readOnly for oversight_admin without agency in App.tsx
- Remove oversight_admin block from require_write_access dependency
- Remove WebSocket oversight_admin upload block in main.py
- Require agency for oversight_admin campaign creation in routes.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 13:08:54 +00:00
..
__init__.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
knowledge_base_routes.py Fix processing job not visible to background task (FK violation) 2026-02-12 16:09:50 -06:00
knowledge_base_schemas.py Add Knowledge Base management system for AI agent specs 2026-02-12 15:00:36 -06:00
routes.py Grant oversight_admin write access to campaigns and proofs 2026-03-03 13:08:54 +00:00
schemas.py Add per-agency analytics breakdown table for admin users 2026-02-22 14:33:48 -06:00