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
{{ message }}
Repository navigation
can edit files with view access in Collabora and Onlyoffice #8060
changed the title [-]can edit files with view access in Collabora and Onlyoffice ms[/-][+]can edit files with view access in Collabora and Onlyoffice[/+]on Dec 22, 2023
@butonic If I am not mistaken @aduffeck added the fix cs3org/reva#4464 and now we shouldn't see an error when try to change the permission of the locked file.
Activity
[-]can edit files with view access in Collabora and Onlyoffice ms[/-][+]can edit files with view access in Collabora and Onlyoffice[/+]v-scharf commentedon Dec 22, 2023
can confirm it:
Actual:
admin changed role of the locked file and:
<statuscode>996</statuscode><message>grpc update share request failed<message/>- correctScreen.Recording.2023-12-22.at.12.23.00.mov
v-scharf commentedon Dec 27, 2023
same issue: https://github.com/owncloud/enterprise/issues/5931
micbar commentedon Dec 28, 2023
Copy&Paste error?
v-scharf commentedon Dec 28, 2023
yes. I changed my comment. thanks
2403905 commentedon Jan 4, 2024
@ScharfViktor FYI
v4.0.5, v5.0.0-rc.1
The public links don't have an issue if the behavior below is expected:
2403905 commentedon Jan 17, 2024
After the share has already updated the update the grant is failed because the file is locked.
https://github.com/cs3org/reva/blob/bde86a38bd77917251a8bc97da5a1bd1dc4c85f2/pkg/storage/utils/decomposedfs/grants.go#L313
We can try to roll back the updateShare before returning an error or try to check locks before the updateShare.
The similar issue #6368
micbar commentedon Jan 17, 2024
I sketched a possible approach in the linked ticket.
butonic commentedon Feb 5, 2024
@aduffeck and @2403905 were digging into this. most recent comment with options going forward: #8273 (comment)
@aduffeck is in posix wonderland. @2403905 are you looking into this? If so, assign yourself?
2403905 commentedon Feb 5, 2024
@butonic If I am not mistaken @aduffeck added the fix cs3org/reva#4464 and now we shouldn't see an error when try to change the permission of the locked file.
2403905 commentedon Feb 5, 2024
I retested. The bug is gone with the Don't check locks grants changes.