hp-studios-ai-content-agent/backend/app/api
DJP 3941af7b0b Admin: add user deletion
Backend:
  DELETE /users/:id (admin only, not self, blocked if last admin).
  Briefs are preserved (ON DELETE SET NULL on created_by).

Frontend:
  useDeleteUser hook + Actions column in UsersAdminPage with trash
  button. Own-account row shows '(you)' and the delete is disabled
  with a tooltip. Error detail surfaces in the toast on 400s (eg.
  'Cannot delete the only remaining admin').
2026-04-22 17:29:19 -04:00
..
__init__.py Initial import — HP Studios AI Content Agent 2026-04-17 17:11:25 -04:00
auth.py Initial import — HP Studios AI Content Agent 2026-04-17 17:11:25 -04:00
briefs.py Add deploy script, prod compose override, and Apache subpath proxy 2026-04-22 15:23:51 -04:00
deliverable_types.py Initial import — HP Studios AI Content Agent 2026-04-17 17:11:25 -04:00
documents.py Initial import — HP Studios AI Content Agent 2026-04-17 17:11:25 -04:00
exports.py Initial import — HP Studios AI Content Agent 2026-04-17 17:11:25 -04:00
generations.py Add deploy script, prod compose override, and Apache subpath proxy 2026-04-22 15:23:51 -04:00
users.py Admin: add user deletion 2026-04-22 17:29:19 -04:00