esotalk / esoTalk

Fat-free forum software.
GNU General Public License v2.0
1.47k stars 236 forks source link

Suspended users must be limited in functionality #341

Open inliquid opened 10 years ago

inliquid commented 10 years ago
  1. Most important - disable ability to edit and remove posts (it seems it's implemented), and delete conversations (which are not answered). Don't let blocked user set some post as an answer on his question. Ability to move conversations across channels and change visibility should also be disabled - but for all users, I have explained in https://github.com/esotalk/esoTalk/issues/317
  2. Disable avatar (or ability to change it) - otherwise user can set something not very friendly to the forum and administartor will have to delete it again and again.
  3. Don't let suspended users recieve email notifications and follow: users, channels, conversations. In case he is blocked he has to go and open the site, it's too much functionality for banned one. He can also change his mail, star all conversations and channels and cause system to spend a lot of processor time to send this abuse traffic.
  4. Don't show suspended user in online users sheet - not 100% sure but I think it make sense.
jgknight commented 9 years ago

Some of these should be fairly easy to implement.

  1. Put in a check that if a user is suspended, display a default avatar. Don't want to delete the users avatar in case they're unsuspended.
  2. I think we could default all the users config/email to null/false, if they login then show a suspended notification. This also solves 1.
  3. Put in a check here, too.