LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.29k stars 884 forks source link

[Bug]: Unable to delete account as banned user #3973

Open IzzyData opened 1 year ago

IzzyData commented 1 year ago

Requirements

Summary

Having a banned account prevents that user from self deleting their account in settings due to not being able to log in.

It might make sense to to allow that user to log in and take no actions other than modify their own settings and delete the account.

Steps to Reproduce

  1. Ban a user
  2. Attempt to log in

Technical Details

This will be the case for all environments.

Version

BE: 0.18.4

Lemmy Instance URL

lemmy.ml lemmy.world

DraconicNEO commented 1 year ago

I would agree with that, people should be able to delete comments or posts they've made even when banned, as well as be able to purge their account if they so choose. Though I don't really think changing settings is a good idea since they could still abuse that.

Here's what I think people should be allowed to do in a Banned account:

Things they shouldn't be able to do:

Reddit has a similar feature with account suspension. When a user is suspended they are still able to log in but they cannot vote, comment, create posts, send messages to users (only to Admins). They can however delete posts and comments and also delete their account.

IzzyData commented 1 year ago

I agree with DraconicNEO's assessment. I've found this to be the way most similar sites to Lemmy work

maltfield commented 9 months ago

This should be high priority. Currently it means that lemmy instance admins that have banned any users in the EU are violating the "Right to Erasure" of the GDPR.

The fines for this violation are commonly millions of euros or a percent of of revenue, whichever is higher. At the time of writing, websites have been fined 98.4 million EUR for violating this class of GDPR violation (Insufficient fulfilment of data subjects rights).

This law applies to any website operating anywhere in the world (not just to websites or businesses located in the EU) that has users who are residents of the EU (so it likely affects >90% of public lemmy instances with >100 active users).

maltfield commented 9 months ago

See also [Bug]: Delete Account should delete uploaded media (pictures) too (GDPR right to erasure violation)

maltfield commented 9 months ago

@DraconicNEO you commented in the wrong ticket, but the answer is no.

Please continue any further discussion in the relevant ticket.

DraconicNEO commented 9 months ago

@DraconicNEO you commented in the wrong ticket, but the answer is no.

Please continue any further discussion in the relevant ticket.

Nevermind was wrong, deleted my comment, like it never even happened.

dessalines commented 9 months ago

@maltfield could you take on this issue? We're a little swamped at the moment.

sunaurus commented 9 months ago

I don't think this is strictly required by the GDPR. The GDPR allows retaining data for some purposes, it seems to me that preventing abuse would be a perfectly valid reason. If the GDPR would really allow banned users to delete their data, then bans would have no effect, as users could simply evade them with GDPR data deletion at any time, right?

Edit: looked into it a bit more, found this on law.stackexchange.com which seems to support my understanding: https://law.stackexchange.com/a/37916

DraconicNEO commented 9 months ago

I don't think this is strictly required by the GDPR. The GDPR allows retaining data for some purposes, it seems to me that preventing abuse would be a perfectly valid reason. If the GDPR would really allow banned users to delete their data, then bans would have no effect, as users could simply evade them with GDPR data deletion at any time, right?

Edit: looked into it a bit more, found this on law.stackexchange.com which seems to support my understanding: https://law.stackexchange.com/a/37916

I mean when a user is banned we still keep the appropriate records on hand, their name is still in the bans list and so is their email and whatever other data is used. Posts and comments aren't part of that needed data, nor are their profile entries.

IMO giving people the ability to login but not do anything other than Deleting or exporting basically kills any chance of them being able to use regulation against an instance, as it gives them the ability to do it then and there. It's likely why Reddit opted to have account suspensions that fully restrict the account as opposed to locking them out, and they have the money and time to deal with legal trolls, smaller Lemmy instances likely don't.

maltfield commented 9 months ago

@dessalines I'm not a rust developer, but I will try to contribute some better documentation to the lemmy project in relation to similar issues this month.

I understand you have more issues than your dev team can handle, but I do hope that you add these data privacy/legal issues to your roadmap as high-priority to be tackled asap.

maltfield commented 8 months ago

For additional context of this issue, please see Nightmare on Lemmy Street (A Fediverse GDPR Horror Story)

Nightmare on Lemmy St - A GDPR Horror Story