We have set up discourse, so that we need to approve users. However, even when the user approval is pending the user still shows up on the users page (/u), even for non-logged in visitors to the site, non-admins etc. Am I missing a setting here? Why would pending users show up on a users page without approval?
AI-generated summary
In the discussion “Pending Users Show Up in Users Page”, sfoster reported an issue where pending users are visible on the users page (/u), even for non-logged in visitors and non-admins. codinghorror asked dax to reproduce the issue, and dax was able to do so only when the timestamp was set to “Today”. sfoster confirmed that the problem persists even after one day. codinghorror agreed that pending users shouldn’t show up in the user list and asked neil to add it to the list for the next week. neil has since fixed the issue, and the user directory will be updated within 24 hours after deploying the fix.
Interesting, can you repro this @dax?
FYI, in our case here where we discovered the issue, the user signed up via the Facebook login. Not sure if that matters or not.
Any idea what is causing this issue? I’m not sure why you only were able to repro it for “Today”, but that could be because you create the user today. I can confirm that problem doesn’t go away after one day. Thoughts? Doesn’t seem like the user page respects the pending users restriction.
I tend to agree that pending users shouldn’t show up in the user list. Can you add this to your list @neil for next week?
Fixed! After deploying the fix, the user directory will be updated within 24 hours (but should be pretty soon after deploy).
https://github.com/discourse/discourse/commit/7331e0865ad72bbdd4d7d9d17c818a64acd41deb

