Index: oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/NodeImpl.java =================================================================== --- oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/NodeImpl.java (revision 1822193) +++ oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/NodeImpl.java (working copy) @@ -1286,9 +1286,9 @@ } @Nonnull - private Iterator getMixinTypeNames(@Nonnull Tree tree) throws RepositoryException { + private Iterator getMixinTypeNames(@Nonnull Tree tree) { Iterator mixinNames = Collections.emptyIterator(); - if (tree.hasProperty(JcrConstants.JCR_MIXINTYPES) || canReadProperty(tree, JcrConstants.JCR_MIXINTYPES)) { + if (tree.hasProperty(JcrConstants.JCR_MIXINTYPES)) { mixinNames = TreeUtil.getNames(tree, JcrConstants.JCR_MIXINTYPES).iterator(); } else if (tree.getStatus() != Status.NEW) { // OAK-2441: for backwards compatibility with Jackrabbit 2.x try to @@ -1300,12 +1300,6 @@ return mixinNames; } - private boolean canReadProperty(@Nonnull Tree tree, @Nonnull String propName) throws RepositoryException { - String propPath = PathUtils.concat(tree.getPath(), propName); - String permName = Permissions.PERMISSION_NAMES.get(Permissions.READ_PROPERTY); - return sessionContext.getAccessManager().hasPermissions(propPath, permName); - } - private EffectiveNodeType getEffectiveNodeType() throws RepositoryException { return getNodeTypeManager().getEffectiveNodeType(dlg.getTree()); } Index: oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/document/GetMixinNodeTypesTest.java =================================================================== --- oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/document/GetMixinNodeTypesTest.java (revision 1822193) +++ oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/document/GetMixinNodeTypesTest.java (working copy) @@ -28,7 +28,6 @@ import org.apache.jackrabbit.oak.plugins.document.memory.MemoryDocumentStore; import org.junit.After; import org.junit.Before; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; @@ -41,7 +40,6 @@ * that check the existence of a jcr:mixinTypes child node when * getMixinNodeTypes() is called. */ -@Ignore public class GetMixinNodeTypesTest { @Rule