Group moderators edit category description (PR #10292)


I didn’t see any JS changed but the tests were changed?

An extra condition was added to the can_edit_post? method, which ends up being used by the PostSerializer. So I added an extra assertion here to ensure the button was being rendered as expected, based on the value from the serializer.

That is cool, just noting that it worked before this commit.

Absolutely - just making sure I didn’t introduce any regressions.

      fab!(:category) { Fabricate(:category, reviewable_by_group_id:, topic: topic) }
        topic.update!(category: category)
        post.update!(topic: topic)
        topic.update!(category: second_category)

@jbrw Some minor suggestions but the PR looks good to me :+1: