-
Notifications
You must be signed in to change notification settings - Fork 187
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
Shares received in different ways are not merged #2711
Comments
related to: owncloud/web#5562 |
While testing things with libregraph-idm #3331 , I've run into this testcase. Which shows an interesting behaviour in different configuration. Currently it only seems to succeed with the default oCIS config because the cs3 userprovider does not work correctly with the glauth LDAP service. It's not able to resolve a users group memberships. If tested with a properly working user/groups backend the test currently fails because the step
causes the new share to be automatically accepted, as it is pointing to the same resource as the group share created earlier.
Yeah, removing that step makes the test succeed in case the userprovider is actually able to resolve groups. @phil-davis @butonic any suggestions how to move forward with this? |
I adjusted the test expectations in core PR owncloud/core#39917 That should make it possible to get oCIS to behave as per the test expectation. |
@phil-davis with the latest changes the above issue is no more in expected to failure on ocis. the expected to failure related to this issue is removed, is it supposed to be? |
I see this in oCIS
|
@phil-davis after then steps refactorings in owncloud/core#39861 |
Good - then after that is merged we could close this issue. |
sure @phil-davis, related bump and refactoring PRs are merged. closing this. |
Describe the bug
See the test scenario.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
The test should pass - when Brian receives the share of
parent
again it should be "merged" with the renamed share that Brian has already received through a different way (in this case Brian first received the share because he was a member of a group, and then he received it "directly" as user Brian). A single "merged" view of the share should be presented to Brian.Actual behavior
Brian sees both
Shares/parent
andShares/sharedParent
which are actually duplicate renderings of the same folder owned by Alice.Setup
Current CI in master.
Note: this is similar to core issue owncloud/core#39347
Note: probably the requirement is also that the 2nd share of the same resource does not need to be accepted. So the 2nd
And user "Brian" accepts share "/parent" offered by user "Alice" using the sharing API
step probably should not be required.The text was updated successfully, but these errors were encountered: