Two users waiting for approval but not in RQ- where are they?

AI-generated summary

Mark_Schmucker reports an issue where two users are pending approval but not appearing in the Review Queue, despite notifications being sent. IAmGav suggests checking the admin > users section. Mark_Schmucker finds the users using a custom query, noting they’ve been pending for years, indicating a potential bug. emyoulation mentions that rejected users can clog the queue and are hard to manage as a moderator. Moin links to a related discussion on Meta Discourse.

We use the same signup process for all new users, using Wordpress as the OAuth provider and requiring manual approval on Discourse. 99% of the time it works. But two users over the past weeks are hiding somewhere. Discourse sends notifications that they are pending approval, but there are not on the Review Queue, no matter how I filter.

Discourse must know where they are, since it’s sending notifications. How can I find them?


go into admin > users they should be in there.

I found them using

AdminUserIndexQuery.new(query: 'pending', stats: false).find_users_query

They have been pending approval for 2-3 years. It seems like a bug that they don’t show up in the review queue.

2 Likes

I’ve found that some “rejected users” users seem to clog up the queue. Although the default filter for the Review Queue hides them, they can be found if the filtering is cleared. Unfortunately, as a Moderator, I cannot filter for “rejected” or “No” status approvals. And even if I can find those rejected and not approved people in the Queue, I cannot access them in the User lists. They are masked there somehow. So there is no way to delete the users as a moderator.

So it always looks like there are users waiting.

I think this was also mentioned here:

2 Likes