# Twee gebruikers wachten op goedkeuring maar niet in RQ- waar zijn ze?

**URL:** https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854
**Category:** Bug
**Created:** [11 november 2021 om 04:26 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854 "2021-11-11T04:26:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [11 november 2021 om 04:26 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/1 "2021-11-11T04:26:56Z")

</div>

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?

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/5/d56fc8376dc9f6c88673fa4c0e84425d2646b580.png)

* * *

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

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [11 november 2021 om 05:28 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/2 "2021-11-11T05:28:55Z")

</div>

go into `admin > users` they should be in there.

---

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [11 november 2021 om 06:10 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/3 "2021-11-11T06:10:22Z")

</div>

I found them using

```plaintext
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.

---

<div class="post-metadata">

### Author: ![emyoulation](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/emyoulation/32/165545_2.png) [@emyoulation](https://meta.discourse.org/u/emyoulation)
#### Post date: [23 september 2025 om 16:12 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/4 "2025-09-23T16:12:13Z")

</div>

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.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/5/2/e52f2b3190380e1a072b88b17e80eb9a089e8903.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [23 september 2025 om 16:14 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/5 "2025-09-23T16:14:41Z")

</div>

I think this was also mentioned here:

> [@Notification claims X users for approval, but none are found](https://meta.discourse.org/t/notification-claims-x-users-for-approval-but-none-are-found/262853/9):
>
> I found this topic while searching before filing a bug report, so adding to it. TL;DR the query for the notification is wrong because it counts rejected users as well. Notification: 16 users waiting for approval, click the link, see only 2. The [query used for the notification](https://github.com/discourse/discourse/blob/fcafc8872fe76158064a58fc58bc70b34a279c66/app/jobs/scheduled/pending_users_reminder.rb#L9) is this puts AdminUserIndexQuery.new(query: "pending", stats: false).find\_users\_query.to\_sql SELECT "users".\* FROM "users" WHERE (suspended\_till IS NULL OR suspended\_till \<= '2023-11-13 11:05:23.225614') AND "users".…
