Allow replacing and deleting LFS files using the web interface

Problem to solve

It is not possible to replace/delete files that are stored in LFS using the web interface

Intended users

Further details

I can see that the ability to replace or delete files stored in LFS was prevented at gitlab-foss!2145 (merged) (blob helper line 66) but it doesn't seem related and it is not explained anywhere. Additionally, the Web IDE appears to be able to delete and upload files that are stored in LFS, but there isn't as simple of a workflow as there is in the blob view's replace dialog. For the Web IDE, you have to first delete the existing file, then upload a new one, and rename it to match the original file name.

Proposal

Make it possible to replace or delete files that are stored in LFS using the web interface. This way, users do not need a git client on their computer for simple drag and drop replacement of images, PDFs, and other large binaries that would typically be marked for LFS.

Permissions and Security

Developer or higher

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Individual Developer

Links / references

Suggested /label feature ~lfs devopscreate

Edited by ftab