-
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
Users can unlock foreign locks in groupfolders #170
Comments
was introduced here |
As i wrote in the on the linked issue, this makes sense for user shares. |
Fixed by #171 |
Hi. I'd like to reopen this one :
|
FYI, I have the following in the oc_files_lock table:
and we are using redis as distributed / local & lock storage. |
Sounds like the intended behavior to me. This issue was about user B being able to unlock the file despite it being locked by user A. My impression is that there are a lot of different expectations as to how locks should behave. What's the behavior you would expect @vincib ? |
I agree I would also expect this behavior as the file is already locked |
Hello I think @vincib has miss an information, B try also to unlock the file. This user could be admin and same error occurs. |
Hello We have continue to investigate. Thanks a lot |
See #169
But for this one it is a bug, as their is no real owner of the files.
The reason for this bug is still the same, but for groupfolders we should not assume any member a owner and allow them to unlock, but only the managers.
The text was updated successfully, but these errors were encountered: