owncloud/core — pull request #12224 by schiesbn (2014-11-17 12:22:41+00:00)
Title: make sure that we don't find the wrong shares if a user and a group have the same ID

Steps to test:

- create a user "foo"
- create a user "testUser"
- create a group "foo"
- add user "testUser" to group "foo"
- share file with user "foo" and check that only user "foo" can see the file
- unshare for user "foo" and share it with group "foo" make sure that onls "testUser" can see the file

fix #12211