cs3org / reva

WebDAV/gRPC/HTTP high performance server to link high level clients to storage backends
https://reva.link
Apache License 2.0
169 stars 113 forks source link

Overwrite must be forbidden on public links with drop zone #2480

Open labkode opened 2 years ago

labkode commented 2 years ago

If two people upload the same file they will overwrite each other. The expected behaviour is to to make each upload unique. In CERNBox we prepend a random UUID.

Screenshot 2022-01-27 at 14 35 18
pmaier1 commented 2 years ago

I'd like to advocate against using UUIDs here as they appear very technical and regular users might feel uncomfortable. Instead I'd propose to append a number in parentheses "(2)". This is the behavior we have in the classic ownCloud. /cc @tbsbdr

ishank011 commented 2 years ago

I think appending the timestamp might be even better? That'll help the user differentiate between the various files

pmaier1 commented 2 years ago

I think appending the timestamp might be even better? That'll help the user differentiate between the various files

Agree, that could be valuable as well. Dropbox behaves like this, for example.

labkode commented 2 years ago

@pmaier1 make sense!

phil-davis commented 2 years ago

What is happening here? We are happy to adjust tests. There has been plenty of discussion in PR #2510 - we just need a decision on the naming format to move forward.