Skip to content

[PM-5997] Fix forum DTO handling and topic deletion policy - #11

Merged
jmgasper merged 1 commit into
developfrom
fix/PM-5997-forum-qa
Sep 3, 2026
Merged

[PM-5997] Fix forum DTO handling and topic deletion policy#11
jmgasper merged 1 commit into
developfrom
fix/PM-5997-forum-qa

Conversation

@jmgasper

@jmgasper jmgasper commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat transformed optional DTO properties with undefined values as omitted, fixing top-level comments and title-only topic edits (PM-6169, PM-6135).
  • Keep topic editing available to authors while restricting topic deletion to administrators and scoped service callers, without granting deletion through challenge-copilot elevation (PM-6164).
  • Add regression coverage using real transformed DTO instances and repair the moderation integration fake so it preserves Prisma promise behavior.

Verification

  • 126 tests passed; 3 environment-dependent tests skipped.
  • pnpm lint passed.
  • pnpm build passed.

@jmgasper
jmgasper merged commit a37a79d into develop Sep 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant