jerboa icon indicating copy to clipboard operation
jerboa copied to clipboard

Allow users to delete images they uploaded

Open maltfield opened this issue 1 year ago • 7 comments

Pre-Flight checklist

  • [X] Did you check to see if this issue already exists?
  • [X] This is a single feature request. (Do not put multiple feature requests in one issue)
  • [X] This is not a question or discussion. (Use https://lemmy.ml/c/jerboa for that)

Describe The Feature Request Below

This is a feature request to add a screen to the Jerboa App where users can browse-through the files (eg photos) that they've uploaded to lemmy and delete individual files from their lemmy instance.

Problem

Currently it's not possible for users to delete images in the lemmy WUI.

This is an issue if, for example, a user accidentally uploads a very sensitive image by mistake..

Solution

The Jerboa app should have a screen where users can view all of the images that their user has uploaded to their lemmy instance.

This screen should allow the user to select one or more image and delete them from the lemmy instance.

maltfield avatar Feb 09 '24 19:02 maltfield

See also:

  • https://github.com/dessalines/jerboa/issues/1362
  • https://github.com/dessalines/jerboa/issues/1363

maltfield avatar Feb 09 '24 20:02 maltfield

Lemmy now has a user image upload table, but it needs an API / way to do that first before we can start adding it to apps.

dessalines avatar Feb 10 '24 00:02 dessalines

@maltfield Also I'm spread pretty thin rn so it'd be really helpful if you could take on some of these issues.

dessalines avatar Feb 10 '24 00:02 dessalines

@dessalines I'm not a rust (or java/Android) dev, but I do plan to contribute to the lemmy documentation so that admins have an easy-to-follow guide on how to delete images (using curl via the pict-rs API) after receiving a "right to erasure" request from their users.

maltfield avatar Feb 10 '24 00:02 maltfield

Lemmy now has a user image upload table, but it needs an API / way to do that first before we can start adding it to apps.

@dessalines does that mean that it's possible for non-admin users to determine the delete_token for a previously-uploaded image? Or does "needs an API" mean that it's only possible if they monitored the initial upload POST to /pictrs/image?

maltfield avatar Feb 10 '24 18:02 maltfield

The local_image table does have this, but its not accessible to non-admin users.

Screenshot_20240212_100939_Termux

The back end needs an interface for users to view all their image uploads and delete them. https://github.com/LemmyNet/lemmy/issues/4445

dessalines avatar Feb 12 '24 15:02 dessalines

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

maltfield avatar Mar 04 '24 20:03 maltfield