Description
as explained in OAK-205 the currently implementation of Root#getTree
relies on the assumption that all intermediate trees are accessible:
TreeImpl child = rootTree;
for (String name : elements(path)) {
child = child.getChild(name);
if (child == null)
}
return child;
this might not be the case once we have permissions enforced in oak-core.
we may either fix that on the API level (see OAK-205) which apart from
making the oak-api permission sensitive would be quite convenient to use
in oak-jcr...
for the time being we should fix the current implementation to use an
implementation specific access method on TreeImpl.