Filter resource collections according to permissions.
Merge pull request #1713 from reciprocity/feature/add-permission-filtering-to-collections

Filter resource collections according to permissions.