Skip to content

[stable7] Fix getItemSharedWithUser for groups - #13470

Merged
MorrisJobke merged 1 commit into
stable7from
stable7-share-fixfindshareforuserwithmultiplegroups
Jan 23, 2015
Merged

MorrisJobke merged 1 commit into
stable7from
stable7-share-fixfindshareforuserwithmultiplegroups

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Fixed SQL query for whenever a user has more than one group.
Added missing $owner where clause for group lookup.
Added unit tests for the group cases.

Backport of #13423 to stable7

Please review and test @schiesbn @MorrisJobke @LukasReschke @DeepDiver1975

@PVince81 PVince81 changed the title Fix getItemSharedWithUser for groups [stable7] Fix getItemSharedWithUser for groups Jan 19, 2015
@karlitschek

Copy link
Copy Markdown
Contributor

Great 👍

@PVince81

Copy link
Copy Markdown
Contributor Author

I have retested with the steps from #13361 (comment)
And also tested with users that have no group (u1 shares with u2, then u2 shares the subfolder with u3) works as well.

@PVince81 PVince81 added this to the 8.0-current milestone Jan 19, 2015
@MorrisJobke MorrisJobke removed this from the 8.0-current milestone Jan 19, 2015
@PVince81

Copy link
Copy Markdown
Contributor Author

Strange, tests passed for me locally

Fixed SQL query for whenever a user has more than one group.
Added missing $owner where clause for group lookup.
Added unit tests for the group cases.

Backport of 40931a8 from master
@PVince81
PVince81 force-pushed the stable7-share-fixfindshareforuserwithmultiplegroups branch from ed6da64 to 18d46df Compare January 20, 2015 21:07
@ghost

ghost commented Jan 20, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/7486/
🚀 Test PASSed. 🚀

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 3 new issues, 5 updated code elements

@PVince81

Copy link
Copy Markdown
Contributor Author

Can we get this important fix merged ? Thanks

@schiesbn @MorrisJobke @LukasReschke @DeepDiver1975

@MorrisJobke

Copy link
Copy Markdown
Contributor

Let me test that.

@MorrisJobke

Copy link
Copy Markdown
Contributor

Works 👍

MorrisJobke added a commit that referenced this pull request Jan 23, 2015
…userwithmultiplegroups

[stable7] Fix getItemSharedWithUser for groups
@MorrisJobke
MorrisJobke merged commit 80560e7 into stable7 Jan 23, 2015
@MorrisJobke
MorrisJobke deleted the stable7-share-fixfindshareforuserwithmultiplegroups branch January 23, 2015 11:59
@PVince81 PVince81 mentioned this pull request Jan 27, 2015
@MorrisJobke MorrisJobke added this to the 7.0.5-next-maintenance milestone Feb 3, 2015
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants