+ @Override
+ public boolean isParentAccessible() {
+ String jcrParentPath = ContentUtils.getParentPath(jcrPath)[0];
+ try {
+ return provider.getJcrSession(getSession(), jcrWorkspace).hasPermission(jcrParentPath, Session.ACTION_READ);
+ } catch (RepositoryException e) {
+ throw new JcrException("Cannot check whether parent " + jcrParentPath + " is accessible", e);
+ }
+ }
+