owncloud/core — pull request #10107 by schiesbn (2014-08-01 14:31:32+00:00)
Title: [sharing] group shares (WIP)

If a file is shared to multiple groups and to individual users it can happen that a user will end up with multiple mount points. The idea is to group it so that the user will always see only one mount point which adds the permission from every share.

This is still work in progress, general grouping works. Open questions:
- [ ] what happens if the user decided to unshare from self? In this case we need to unshare all shares not only the mounted one (maybe the share can have a flag "grouped" and a list of shares which are grouped with it)
- [ ] the recipient renames the share and afterwards the owner unshares this particular share. In this case the grouping will be based on a different share and the rename will be lost -> make sure that the rename operation renames all grouped shares