trustroots
trustroots copied to clipboard
Suspended users appear in member search
Describe the bug
Is it a bug or a feature? When I (a regular user) go to https://trustroots.org/search/members and type in name of a user who is (most probably) suspended, I can still see them in the results.
To Reproduce
- Know a name of some suspended user
- Open https://trustroots.org/search/members
- Type suspended user's name or username
- See them appear in the results
Expected behavior The suspended users should not appear in the member search output.
We'll need to add roles: { $nin: ['suspended','shadowban'] }
to query.
This issue is marked as unloved because it has not had any activity for 180 days.
It doesn't mean it's not important, so please remove the unloved label if you like it, or add a comment saying what it means to you :) If this was a bug, maybe you can test to see if this is still an issue?
However, if you just leave it like this, I'll close it in 14 days to help keep your issues tidy!
Thanks!
Is this still an issue?