nextcloud / files_lock

GNU Affero General Public License v3.0
24 stars 8 forks source link

Hide options if file is locked #50

Open tobiasKaminsky opened 2 years ago

tobiasKaminsky commented 2 years ago

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

juliushaertl commented 2 years ago

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

tobiasKaminsky commented 2 years ago

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

juliushaertl commented 2 years ago

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.