-
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
Storage wrapper for locking #1
Comments
Working fine, and implemented: locked file are not editable throw the Files API.
|
the wrapper now returns a LockedException on UPDATE and DELETE permissions. |
@daita I think as a possible enhancement it would make sense to switch the text app to read only mode if the file is locked by a user that is not in the current editing session. Is the LockedException containing details about the lock? |
we can improve https://github.com/nextcloud/server/blob/25565dd7d808dd33cc523525209ff5cfd5b9b6cd/lib/public/Lock/LockedException.php Like, it seems I can already add a string
@rullzer your thought ? |
I kept thinking that this is the best approach |
This is needed to ensure the basic locking of the filesystem level
@icewind1991
The text was updated successfully, but these errors were encountered: