]> 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>
Fri, 16 Jan 2015 17:11:13 +0000 (18:11 +0100)
commit40931a8b0d5d10c0f711756a4e8a423ff055621e
treebac0e1f21d9f3761e7a384928dbd2ab36e9b2a97
parenta65f666834742f8df25493a11e10063e1e5ff98a
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.
lib/private/share/share.php
tests/lib/share/share.php