feat(forum): add support for comment_role_id field#4878
Merged
wescopeland merged 2 commits intoMay 21, 2026
Conversation
Jamiras
reviewed
May 18, 2026
Jamiras
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://discord.com/channels/310192285306454017/1499468217654051137/1503387011774550116
This PR adds a nullable
comment_role_idfield toforum_topics. When it's set:At the moment, this can only be set on a topic by manually doing it in the database. It may be desirable in the future to make this editable in the front-end moderation controls. This is a QoL concern that I think that would more than double the size of this PR, so I decided to punt it for now.
As a QA member when the topic has

comment_role_id=25As a regular user when the topic has

comment_role_id=25