files_lock icon indicating copy to clipboard operation
files_lock copied to clipboard

Hide options if file is locked

Open tobiasKaminsky opened this issue 3 years ago • 3 comments

  • share a file to user test
  • as test click on three dots menu
  • see "unlock file", "rename", "move or copy"

None of this (maybe copy) should be allowed/visible

tobiasKaminsky avatar Jan 24 '22 13:01 tobiasKaminsky

We might be able to just set the file permissions to read only in that case in the files app.

juliusknorr avatar Mar 02 '22 19:03 juliusknorr

A read-only file can still be copied, but do we want to allow this on a locked one?

tobiasKaminsky avatar Mar 07 '22 15:03 tobiasKaminsky

I think that should still be possible, yes. From my perspective a lock in other solutions is always just a write lock, so copying the current state of the file would also work and not lead to any conflict situation that locks are supposed to avoid.

juliusknorr avatar Mar 15 '22 14:03 juliusknorr