ModeShape/modeshape — pull request #1118 by hchiorean (2014-05-15 08:20:01+00:00)
Title: MODE-2173-master Fixed the checking of READ permissions for nodes retrieved from queries.

This is a similar fix as the one from the 3.x branch, but it's __not fully functional__ because the fact that the query result iterators rely on `Batch` & `Sequence` makes it impossible atm to correctly implement them taking into account JCR permissions.

The updated `JcrQueryManagerTest` contains a permissions-related test case which will fail exposing this issue.