Skip to content

✨ Allow admin to chat with and see private users - #750

Merged
Logan2234 merged 4 commits into
mainfrom
feat/admin-chat-and-profile-access
Dec 2, 2026
Merged

Logan2234 merged 4 commits into
mainfrom
feat/admin-chat-and-profile-access

Conversation

@Logan2234

@Logan2234 Logan2234 commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Summary *

Admins can reach any account, friend or not:

  • A « Message » button on a user's profile and on their admin page.
  • « New message » finds every account when an admin types a search; without one it lists friends only.
  • Only an admin starts such a conversation, and both members can then write in it, blocks and follows set aside.
  • Admins open any profile (private, Figurant or blocking them) and see every facet, review and list, those set to « only me » included.

No audit log records these reads. A block set by an admin does not stop the other person from writing in an existing conversation.

Related *

  • Quackback ticket:
  • Issue link:
  • n/a

Checklist

  • Tests added/updated for the behavior this changes (a bug fix includes a regression test that failed before it)
  • New user-facing strings added to the fr and en message catalogs (it may follow, see Translating)
  • pnpm build:package run if packages/shared changed
  • A Prisma migration is included if apps/api/prisma/schema/ changed
  • No --no-verify — hooks ran clean
  • Manual testing performed

🤖 Generated with Claude Code

@Logan2234 Logan2234 self-assigned this Dec 1, 2026
@github-actions github-actions Bot added api apps/api (NestJS) web apps/web (SvelteKit) i18n Changes translations labels Dec 1, 2026
Comment thread apps/api/prisma.config.ts Resolved
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.28571% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
apps/api/src/chat/chat.service.ts 56.250% 4 Missing and 3 partials ⚠️
apps/web/src/lib/chat/ChatNewMessage.svelte 0.000% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

A regular user could open a conversation with an admin they don't follow:
only answering one was meant to be possible.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Logan2234
Logan2234 enabled auto-merge (squash) December 2, 2026 11:33
The deletion date is at least 30 days from now, so the expected date stopped
being the answer on 2026-12-02.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Logan2234
Logan2234 merged commit 301d25f into main Dec 2, 2026
30 checks passed
@Logan2234
Logan2234 deleted the feat/admin-chat-and-profile-access branch December 2, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api apps/api (NestJS) i18n Changes translations web apps/web (SvelteKit)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant