Skip to content

Allow users to delete images they uploaded (pict-rs) #2359

Closed

Description

@maltfield

Requirements

  • This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
  • Please check to see if this request (or a similar one) already exists.
  • It's a single feature. Please don't request multiple features in one issue.

Describe the feature you'd like

This is a request to implement a section of the Lemmy WUI where users can:

  1. View all of the files that they've uploaded
  2. Delete individual files (eg photos) that they've uploaded

Problem

Currently it's not possible in the Lemmy WUI for users to delete files that they've uploaded.

This is not just an inconvenience. It's a violation of user's rights, and it's a legal risk to lemmy instane admins. 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).

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).

Making the endpoint accessible over an API is not trivial and therefore doesn't satisfy this requirement. Google recieved one fine of 150 million EUR in 2022 simply for making it more than 1-click to reject cookies. Certainly requiring a user to figure out how to make API calls (including figuring out the darn delete token, which makes even seasoned admins scratch their heads) would not satisfy the GDPR's "Right to Erasure" requirement.

Solution

There should be a very straightforward way in the lemmy WUI for users to view & delete any files that they've uploaded.

Activity

  1. maltfield commented on Feb 7, 2024

    @maltfield
    Author
  2. maltfield commented on Feb 7, 2024

    @maltfield
    Author
  3. maltfield commented on Mar 4, 2024

    @maltfield
    Author
  4. Pdzly commented on Mar 5, 2024

    @Pdzly
    Contributor

    @maltfield it is good that you didnt posted it, otherwise it could have gotten federated and then your image is everywhere.

    My suggestion would be:

    If you upload an image during writing a comment or post and press "Cancel", it should delete the image(s) that got uploaded
    If you upload an image during writing a comment or post and delete it after and still send the comment, it should remove the image uploaded

    All images should be tracked who uploaded it, and the user himself should be able to look what images he upload and delete it on his behalf.

  5. Nothing4You commented on May 19, 2025

    @Nothing4You
    Collaborator

    this was implemented in #2424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions