main ← feature/allow-solved-in-group-messages
opened 01:30PM - 09 Feb 26 UTC
PM support for the solved plugin was intentionally removed in PR #334, but multi…ple communities rely on solved in group messages for private support workflows (e.g. using Discourse as an internal ticket system).
Add a new `allow_solved_in_groups` site setting (group list, default empty) that enables the solved UI for group messages belonging to the configured groups. Regular 1-on-1 PMs remain excluded.
The implementation adds an early return in `allow_accepted_answers?` for private messages that checks whether the topic's allowed groups intersect with the configured setting. The category/tag logic is extracted into `solved_enabled_for_category?` so callers without a topic object (e.g. the category-change diff in plugin.rb) still work. All existing PM exclusions (reports, badges, filters, directory columns) are intentionally left unchanged.
https://meta.discourse.org/t/370496