Background
A long time ago we migrated from Tender to Discourse. In the process we programatically re-created every single Tender user in Discourse. At the time of writing this, we have ~4k users that were created with that process that have read 0
posts. So its safe to say they are no longer needed.
The Problem
We are using /admin/users/list/active
heavily for internal reporting, and we’d like to narrow down the amount of paging we are doing against that endpoint. So I thought I’d set these users as Active=false
from the UI so they:
A) Can still come back to our forum if they want it.
B) Do not show up when we hit /admin/users/list/active
.
To my surprise, even If I set the user as Active=false
, they still show up when I hit /admin/users/list/active
Questions
- Is this a bug? It does sound like one to me.
- Can anyone think of a different approach I can take to only list inactive users? I know I can bring the whole list and filter them locally, but the goal is to reduce the amount of API calls I’m doing.
Thanks a lot in advance