Cache: provide a function to get the permissions of all files in a folder with one query
Only retrieve the current user's permissions
Implement getDirectoryPermissions() in Shared Permissions, fixes #2846
Merge pull request #3529 from owncloud/folder-permissions

Cache: provide a function to get the permissions of all files in a folder with one query