localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Unable to delete attachments #66

Open philipn opened 9 years ago

philipn commented 9 years ago

From @ParadisoShlee on September 28, 2012 21:13

as title. I'm able to update attachments. but not delete.

Copied from original issue: localwiki/localwiki#348

philipn commented 9 years ago

From @mivanov on September 28, 2012 21:53

This would be cool to have. I believe the reason we don't have it yet is that we want all changes and deletes to be visible and reversible, so we'd need a way to show attachments that have been deleted. Basically a small UI challenge, and since this isn't needed that often (I believe no one has mentioned it until now!) we haven't done it yet.

philipn commented 9 years ago

From @JayBazuzi on September 28, 2012 21:58

A useful question to have answered would be "why is this important to you?"

philipn commented 9 years ago

From @ParadisoShlee on September 28, 2012 22:2

Keeping a clean house really. if a file isn't being used.. what's the point of having it?

philipn commented 9 years ago

From @mivanov on September 28, 2012 22:11

Everything being versioned, the unused file would still be there even if you were to delete it. Deleting would just remove it from the "files" area, but we'd still want it to be recoverable, hence the UI challenge.

philipn commented 9 years ago

From @JayBazuzi on September 28, 2012 22:16

What Mike describes is the right way to build this, but there does need to be a mechanism for deleting files for real, as an administrator. Someone will surely upload goatse man.