Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to delete uploaded files #3994

Closed
AaronMT opened this issue May 22, 2017 · 7 comments
Closed

Unable to delete uploaded files #3994

AaronMT opened this issue May 22, 2017 · 7 comments

Comments

@AaronMT
Copy link

AaronMT commented May 22, 2017

Description

One is unable to delete uploaded files in a room with members

Steps to reproduce

  • Upload a file

Expected Results

  • On opening the files pane there should be an option to delete a file

Version information

Using Riot IM on the web in Chrome 58.0.3029.110, Windows 10

Homeserver is https://matrix.org
Identity Server is https://vector.im
matrix-react-sdk version: 0.8.9
riot-web version: 0.9.10
olm version: 2.2.1

@uhoreg
Copy link
Member

uhoreg commented May 23, 2017

A workaround is to redact the file event from the room. If people already have the file link, they can still fetch it, but new people won't see the file in the room.

@lampholder
Copy link
Member

There will come a time when sbdy uploads something they really didn't want to/shouldn't have, so this is an important feature for the platform to have.

How it's implemented, who can delete which files, and what the implications are for files than have been cached remotely is an interesting topic (which may have already had some thought).

@CIAvash
Copy link

CIAvash commented Mar 4, 2018

What @lampholder said happened to me, I wanted to delete the file I uploaded and naively thought removing the event would delete it but it seems I was wrong. It was a private chat and people seeing it wasn't a problem, I just wanted it to be deleted from the server.

What interface is going to be provided for deleting files that no longer can be seen? Will users have access to a list of files they have uploaded?

It would be nice if there was some docs that explained how much control users have over their content.

@t3chguy
Copy link
Member

t3chguy commented Mar 4, 2018

@CIAvash I mean in the end if you don't control the servers that have your content you can't ensure deletion, this is even more painful when considered with federation

@colans
Copy link

colans commented Aug 1, 2018

Maybe add two permissions for this:

  • Delete your own files (default: 0, anybody)
  • Delete others' files (default: 50, moderators)

@t3chguy
Copy link
Member

t3chguy commented Aug 1, 2018

@colans the issue is files don't belong to rooms, I could upload a file once and send it into 100s of rooms, having those room moderators able to delete the file would be potentially massively destructive?
(esp given its impossible to know what rooms a file is in, because e2ee)

@turt2live
Copy link
Member

Closing in favour of #5025 (more outbound links)

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

No branches or pull requests

8 participants