You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
occ config:app:set files enable_lock_file_action --value no
Note: the 3rd commit adjusts the checkbox description so that it says "Enable manual file locking on clients".
Related Issue
This is a follow-on enhancement from all the file locking additions.
Also related to the discussion in #37620 about the meaning/interpretation of this setting. Any client that wants to support manual file locking can check this when deciding whether to give the user options for locking files. (A separate PR proposes to expose this setting in the capabilities API endpoint)
How Has This Been Tested?
Manually check the new checkbox, the browse to the Files page and confirm that the "Lock file" action is available for a file.
Manually uncheck the new checkbox, the browse to the Files page and confirm that the "Lock file" action is not available for a file.
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Database schema changes (next release will require increase of minor version instead of patch)
Breaking change (fix or feature that would cause existing functionality to change)
This moves PR #37702 over to master branch. I cherry-picked various commits from release-10.5.0 because they are needed before this checkbox is added, but are not in master yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You can’t perform that action at this time.
✕
Wait! Don't Go Yet 🚀
Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!
Description
Adds a checkbox to admin settings "Manual File Locking" to "Enable manual file locking on clients"
Checking the checkbox does the same as:
occ config:app:set files enable_lock_file_action --value yesUnchecking does the same as:
occ config:app:set files enable_lock_file_action --value noNote: the 3rd commit adjusts the checkbox description so that it says "Enable manual file locking on clients".
Related Issue
This is a follow-on enhancement from all the file locking additions.
Also related to the discussion in #37620 about the meaning/interpretation of this setting. Any client that wants to support manual file locking can check this when deciding whether to give the user options for locking files. (A separate PR proposes to expose this setting in the capabilities API endpoint)
How Has This Been Tested?
Manually check the new checkbox, the browse to the Files page and confirm that the "Lock file" action is available for a file.
Manually uncheck the new checkbox, the browse to the Files page and confirm that the "Lock file" action is not available for a file.
Types of changes
Checklist: