-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Show lock status for read only files and allow unlocking #306
Conversation
Signed-off-by: Julius Härtl <[email protected]>
/backport to stable28 |
/backport to stable29 |
Hi. |
@juliushaertl what do you think about that comment ? |
Not sure I understand the suggestion correctly but the lock is ensuring that other users cannot write to the file, the lock owner still needs to be able to write it so I don't see why a separate read-only flag would make sense. It also makes things way more complex. |
Hi.
What you described @juliushaertl is the "classic" file locking function performed by the file_lock module. |
Then this would be a new feature, probably not related to the files_lock app, but I don't really see a use case. In any case maybe you can file this separately,. |
Hi. |
Sorry, but while it might be a small code change this is a large logical change, so please file a separate feature request for this and also elaborate a bit on why this would be useful in terms of use cases. Then we can properly evaluate if that makes sense. |
Fix #305
There may be cases where a file is locked but the lock owner no longer has write permissions. This PR ensures that