Improve handling of user abuse reports.
Right now if an abuse report is reported and the user blocked they still appear on the abuse reports page and there is a button that still says BLOCK USER
The application should be smart enough to display the status of the user as blocked and the Block
button should not be present.
Proposal
-
Show status of user on Abuse reports page i.e. If active
orblocked
-
If the user has been blocked, the BLOCK USER
button should not be shown
Bonus Points They easiest way to confirm if the user is a spammer is to:
- Check the projects of the person i.e. does he have projects, if he does what are they
- Check if the user has created a bunch of dubious issues on a project's issue tracker.
The Abuse Report shows the the reported user's real name instead of the username. Right now if I click on the 'suspicious' spammer's name on the abuse reports page it takes me to his/her user profile. This takes care of point 2
For point 1, I have to go to to their profile page to get the username in case there are many people with a similar name hence searching for the user's name under https://gitlab.com/admin/users/
would display a bunch people who I have to sift through before I get the spammer.
Point 1 could be solved in one of the following ways.
- Display the username instead of the real name so that the admin can just pop the username on
https://<GITLAB_INSTANCE_URL/admin/users/<USERNAME>
. To view their stats i.e. status, projects, identities etc. - Add a link on the report that directly takes me to the
https://GITLAB_INSTANCE_URL/admin/users/<USERNAME>
too.