Allow users to delete images they uploaded
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.
See also:
- https://github.com/dessalines/jerboa/issues/1362
- https://github.com/dessalines/jerboa/issues/1363
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.
@maltfield Also I'm spread pretty thin rn so it'd be really helpful if you could take on some of these issues.
@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.
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?
The local_image table does have this, but its not accessible to non-admin users.
The back end needs an interface for users to view all their image uploads and delete them. https://github.com/LemmyNet/lemmy/issues/4445
For additional context of this issue, please see Nightmare on Lemmy Street (A Fediverse GDPR Horror Story)
