nextcloud / files_lock

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

fix: Show lock status for read only files and allow unlocking #306

Closed juliushaertl closed 2 months ago

juliushaertl commented 2 months ago

Fix #305

There may be cases where a file is locked but the lock owner no longer has write permissions. This PR ensures that

juliushaertl commented 2 months ago

/backport to stable28

juliushaertl commented 2 months ago

/backport to stable29

Mika-6-9 commented 1 month ago

Hi. It seems to me that read-only should not be associated with a user, but should be an attribute that everyone should be able to put on or take off. Otherwise we lock the file and we do not make the file read-only.