mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FEATURE: Support designating multiple groups as mods on category (#28655)
Currently, categories support designating only 1 group as a moderation group on the category. This commit removes the one group limitation and makes it possible to designate multiple groups as mods on a category. Internal topic: t/124648.
This commit is contained in:
@ -1091,8 +1091,9 @@ RSpec.describe PostRevisor do
|
||||
|
||||
context "when logging group moderator edits" do
|
||||
fab!(:group_user)
|
||||
fab!(:category) do
|
||||
Fabricate(:category, reviewable_by_group_id: group_user.group.id, topic: topic)
|
||||
fab!(:category) { Fabricate(:category, topic: topic) }
|
||||
fab!(:category_moderation_group) do
|
||||
Fabricate(:category_moderation_group, category:, group: group_user.group)
|
||||
end
|
||||
|
||||
before do
|
||||
|
Reference in New Issue
Block a user