-
Notifications
You must be signed in to change notification settings - Fork 89
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
New settings for persistent locks #2696
Comments
Referencing: #2663 (Core: new functionality: file action to explicitly lock a file) Which is the component for the user |
Thanks for opening this! Here's some general input on file locking which I have written for the release notes: ownCloud Server 10.5 comes with great enhancements for content collaboration. Manual file locking allows users to lock files in shared areas while working on them in order to prevent concurrent changes from other users (check-in/check-out). The feature builds on the xref:release_notes.html#webdav-locks[WebDAV Locks backend] which has been introduced with Server 10.1 and is now available in the ownCloud Web Interface. Using the context menu of files, every user who has access can lock them. Users can recognize locked files by the means of a new lock indicator. While a file is locked, other users can still access it but they can not make any changes. Locked files can manually be unlocked by the lock owner (the user who locked the file; exclusive locking) using the "Locks" tab in the file details view (right sidebar). To prevent files being locked infinitely, there is a mechanism that automatically expires locks after a certain time. The expiration time of locks can be configured via the "Manual File Locking" section in the Admin -> Additional settings or using occ commands:
By default locks set in the web interface will expire after 30 minutes. The maximum lock time by default is one day. TIP: Please change the lock expiration settings according to your needs. Usually you will only need to change the default timeout as this applies to locks set in the web interface. TIP: The user-facing components in the web interface are disabled by default. Administrators can enable the feature by executing the following occ command: |
@pmaier1 pls ping me on talk |
We probably need to clarify if the web UI will explicitly set 30 minutes of expiration, or if it will use whatever value is the default. For me, it isn't clear if changing the default value in the settings will affect the web UI |
As far as I see in the PR, there is no explicit lock timeout being set, so it will use whatever default value is configured in the settings page. |
For the reference, the code in core has hardcoded limits set, see:
|
If the admin doesn't configure any value, those will be used as default and max values. |
We have to be more precise.
This is important, because this is the reason for closing owncloud/core#37579 (No limits for for persistent lock values) |
The process of setting the effective timeout is explained in owncloud/core#36452 (comment) , ensuring the effective timeout is always in range. |
@pmaier1 I edited your comment from --value true to --value yes because in the final version it's got to be "yes". I hope you are fine with it. |
Sure, thanks. Actually this is outdated. The source of truth are the release notes https://doc.owncloud.com/server/admin_manual/release_notes.html#file-locking-in-the-web-interface |
Great. We done a great job advertising the new feature but no one documented it. Perfect. Issue is open since January. 1 Year no progress. Please don't write "PR welcome". |
Somone writing a PR is still welcome! |
The difference is - we (ownCloud) don't advertise the other stuff publicly like: |
no one will do it if I don't do it myself. Apparently I am the only one who is ashamed when Customers ask me: "where is this documented?" and I can't provide them a proper page... |
I am out. Will send our blog articles instead. |
fixed with #2903 |
What Needs to be Documented?
New UI setting created in docs, referencing:
owncloud/core#36452 (Include settings for the persistent locks)
Where Does This Need To Be Documented?
Admin/Storage section
Why Should This Change Be Made? (Optional)
Changes made in core
What Type Of Content Change Is This? (Optional)
Which Manual Does This Relate To? (Optional)
@jvillafanez @micbar @pmaier1
The text was updated successfully, but these errors were encountered: