]> source.dussan.org Git - nextcloud-server.git/commit
Fix getItemSharedWithUser for groups
authorVincent Petry <pvince81@owncloud.com>
Fri, 16 Jan 2015 17:11:13 +0000 (18:11 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 20 Jan 2015 21:07:21 +0000 (22:07 +0100)
commit18d46dfdeb2facc9f5c5d9f1827b27714acb96dd
treecba9f1e6489be99eced609b569e137a7343425c0
parent5f70ed188b7d661929ec04b687f11fcb305d8334
Fix getItemSharedWithUser for groups

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 40931a8b0d5d10c0f711756a4e8a423ff055621e from master
lib/private/share/share.php
tests/lib/share/share.php