Private Issue Comments: ContentHistory #638

Closed
opened 2026-06-30 13:26:30 +00:00 by nphilipp · 1 comment
Member

Summary

ContentHistory points to comments, let them differentiate public/private.

Acceptance Criteria

For the ContentHistory type, …

  • … let it alternatively point to the private_comment table.
  • … verify plausibility: it either points to a public or private comment, not both (check before INSERT or UPDATE).
  • … update the migration script accordingly.
  • … update related code dealing with comments to deal with either.
# Summary ContentHistory points to comments, let them differentiate public/private. # Acceptance Criteria For the `ContentHistory` type, … - [x] … let it alternatively point to the `private_comment` table. - [x] … verify plausibility: it either points to a public or private comment, not both (check before INSERT or UPDATE). - [x] … update the migration script accordingly. - [x] … update related code dealing with comments to deal with either.
nphilipp added this to the Sprint 24 project 2026-06-30 13:27:11 +00:00
Author
Member
Implemented in my feature branch: https://codeberg.org/nilsph/forgejo/src/branch/private-issues-backend-foundational
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
forge/forge#638
No description provided.