rust-lang / crates.io

The Rust package registry
https://crates.io
Apache License 2.0
2.98k stars 599 forks source link

After we have ownership consent, have a way for a user to block ownership requests from a particular user #928

Open carols10cents opened 7 years ago

carols10cents commented 7 years ago

Ownership consent is #924. That'll help, but a harasser could still create a whole bunch of ownership invitations that would be annoying for someone to have to go through and decline.

sunjay commented 7 years ago

What do you think of a prompt like the following after someone blocks another user?

Would you like you report this crate/user for abuse? [N, y]

If they confirm, a report is sent to the crates.io moderators. If they decline, we print a message letting them know how they can report manually if they need to in the future.

I think most situations where you would want to block someone are also situations where you are likely being abused and would want someone to stop them and this may help bring those situations to our attention.

sunjay commented 7 years ago

Also, it may be useful to keep a history of invitations so we can (in the future) automatically detect and track abuse. For example if a user is suddenly receiving many invites or if one user is suddenly sending many invites they may be doing something nefarious.