-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Properly lock share owner parent folders #17181
Comments
JP, can we automate this test case with smashbox? |
In fact we should automate all actions over shared files. It's pending to be automated |
PR is here #17246 |
@cmonteroluque @karlitschek @DeepDiver1975 moving to 8.1.1. Needed to make locking more watertight. |
@PVince81 I added this issue to 8.2 milestone and added a backport label to the PR. Once the backport against 8.1.1 is done this ticket will get the 8.1.1 brown label ;) |
Steps
Expected result
"sub" is locked
Actual result
Rename succeeds.
Versions
ownCloud 8.1 git master (58439c3)
Concern raised by @icewind1991
When the parent folders of "test.txt" are selected to be locked in the owner's tree, they are only selected up to the parent root, which is "sub/sub2/folder". The correct behavior would be to also lock "sub/sub2" and "sub".
@icewind1991 said he was working on a POC and possible fix. The idea would be that whenever a shared storage root is being locked, the storage will automatically lock the parents in the original storage.
CC @jnfrmarks @SergioBertolinSG FYI about this test case
The text was updated successfully, but these errors were encountered: