# Moderators no longer see new flagged posts

**URL:** https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508
**Category:** Bug
**Created:** [April 5, 2019, 6:06am UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508 "2019-04-05T06:06:11Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 5, 2019, 6:06am UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/1 "2019-04-05T06:06:12Z")

</div>

we are on [v2.3.0.beta6 +175](https://github.com/discourse/discourse/compare/81a1bafe544a65476fc65fd5e60a8660ebffc67a...tests-passed) but the problem started already earlier, somewhere at +30 or so.  
Our admins (like myself) do get the red numbers and do see the flagged post but our moderators do not get the red numbers for flagged posts anymore and do not see the flagged posts.  
So something is strange with the rights if only admins can see them.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 5, 2019, 6:15am UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/2 "2019-04-05T06:15:13Z")

</div>

@eviltrout has deployed a new feature called the review queue see:

> [@Feedback on the new Review Queue (2019)](https://meta.discourse.org/t/feedback-on-the-new-review-queue/112837):
>
> I’ve just merged in the [Review Queue](https://meta.discourse.org/t/proposal-consolidated-review-queue/105588) that has been in development for the last few months. We’ve been running it on our servers for a while and it’s passed through the hands of several developers so it’s in a good place to start testing with those Discourse users who follow the tests-passed branch. Here are the notes from the commit: This is a large refactor that merges all types of reviewable items in core Discourse (Users, Queued Posts and Flags) into one consolidated review queue. New Fea…

Assigning this to Robin who can test out if something changed where only admins get notification and not moderators.

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 5, 2019, 6:22am UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/4 "2019-04-05T06:22:35Z")

</div>

additional information: queued post that have to be approved the moderators do see and also user to be approved are visible to the moderators, both under the “Needs review” button.  
It is just the flagged posts were they do not get information and do not see them under “Needs review”.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 5, 2019, 12:12pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/5 "2019-04-05T12:12:05Z")

</div>

I’ve got a site where people are complaining that they get notification that there are things to review but see nothing in the queue. (I haven’t updated in a few days.)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [April 5, 2019, 2:03pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/6 "2019-04-05T14:03:59Z")

</div>

I can’t seem to reproduce this locally. I tried with a moderator and flags were visible. I also checked the code path and it has the `reviewable_by_moderator` flag set to true. The only thing I did find is that old migrated flags were not given this flag. Can you confirm these are new, incoming flags? Do you have any other information, such as the type of flag or who created them?

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [April 5, 2019, 5:32pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/7 "2019-04-05T17:32:57Z")

</div>

We also have this issue on our forum. We have a notification and if I go into the review queue, `grouped by topic` has no items, but `view all` has one topic. If it helps, it’s an Akismet Flagged Post and looks like it was from two days ago and I upgraded about seven days ago.

This is what I see…

 ![41%20AM](https://global.discourse-cdn.com/meta/original/3X/3/3/337b5c574403ec3ad7a6803da591fd2bfe443d3d.png)

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 5, 2019, 5:38pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/8 "2019-04-05T17:38:11Z")

</div>

> [@eviltrout](#):
>
> Can you confirm these are new, incoming flags? Do you have any other information, such as the type of flag or who created them?

well it is a post that was flagged already twice in the past and that was now flagged again.  
Type of flag is “inappropriate” and it was created by a normal user with trust level 1.  
This is how is look like for an admin like myself.

 ![Unbenannt](https://global.discourse-cdn.com/meta/original/3X/9/c/9c5d433ae2d25ce0b06b21306dfb30c3b278ea48.png)

And the moderator do not see this at all.

Update: posts with new flags that had not been flagged before are visible for the moderators.  
We just got two of them and they do see them both.  
So it has something to do with the fact that it was already flagged in the past.  
Nevertheless the moderators should also see the new flagging of posts that had already been flagged in the past.

another Update:  
I did just the migration to [v2.3.0.beta7 +1](https://github.com/discourse/discourse/compare/06e3b25d04f7833d0250659a5dbcc51293e0d1d0...tests-passed) but the problem remains.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [April 5, 2019, 6:32pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/9 "2019-04-05T18:32:55Z")

</div>

Hi @yanokwa is there any chance the flagged post is below your `min score default visbility`? I’m also wondering if perhaps the topic was deleted.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [April 5, 2019, 6:36pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/10 "2019-04-05T18:36:57Z")

</div>

Aha if the flag existed before I fixed the old migration that explains it. A “Reviewable” is re-used if someone else flags the same thing. Viewing permissions are set on a “Reviewable” basis so those old ones that were migrated incorrectly will not show up for moderators if the content is flagged again.

There is an easy fix if you can jump into a rails console:

`ReviewableFlaggedPost.update_all(reviewable_by_moderator: true)`

You should only need to do this once - new flags have the correct permissions.

---

<div class="post-metadata">

### Author: ![yanokwa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yanokwa/32/105083_2.png) [@yanokwa](https://meta.discourse.org/u/yanokwa)
#### Post date: [April 5, 2019, 6:59pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/11 "2019-04-05T18:59:42Z")

</div>

@eviltrout `min score default visibility` is 0.0 and I think this post is 6.0, so no. Definitely possible that the post was deleted. How do I check? I’m comfortable on the command line if you wanna send me to the rails console.

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 5, 2019, 10:06pm UTC](https://meta.discourse.org/t/moderators-no-longer-see-new-flagged-posts/113508/12 "2019-04-05T22:06:13Z")

</div>

> [@eviltrout](#):
>
> There is an easy fix if you can jump into a rails console:

thanks that worked fine, now they are visible to the moderators.
