On review page tag restricted to the topic owner privileges


If one of tag group settings :arrow_down_small:

Screenshot 2022-12-28 at 16.26.54

Is set to a different group then the reviewable topic’s owner. Then the topic cannot be approved with that tag.


  1. Turn on review every post site settings for testing.

  2. Create a tag group with a tag and set the Tags are visible only to the following groups e.g: staff
    Screenshot 2022-12-28 at 16.33.40

  3. Create a topic with a non staff user. I created with a TL1 user.

  4. Click edit and add the tag you created on the 2. point.

  5. Click Approve Post button.

It will show a warning modal.

And a console error.

It seems on review page it restricted to the topic owner privileges.

Thanks :slightly_smiling_face:

opts.merge!(guardian: Guardian.new(performed_by)) if performed_by.staff?

Now we will use reviewer’s “guardian” to check permissions everywhere while creating posts/topics by approval. I hope that is fine.