trustroots icon indicating copy to clipboard operation
trustroots copied to clipboard

Suspended users appear in member search

Open mrkvon opened this issue 5 years ago • 3 comments

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

  1. Know a name of some suspended user
  2. Open https://trustroots.org/search/members
  3. Type suspended user's name or username
  4. See them appear in the results

Expected behavior The suspended users should not appear in the member search output.

mrkvon avatar Jan 22 '20 02:01 mrkvon

We'll need to add roles: { $nin: ['suspended','shadowban'] } to query.

simison avatar Jan 22 '20 07:01 simison

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!

github-actions[bot] avatar Jul 21 '20 00:07 github-actions[bot]

Is this still an issue?

jaas666 avatar Jul 08 '22 19:07 jaas666