ECL-332: getRepresentations() filters results and applies permissions
(it only returns representations that can be read by the user who made
the query)