return compiledPermissions.isGranted(acTree, acProperty, Permissions.READ_ACCESS_CONTROL);
}
private ReadStatus getVersionContentReadStatus(@Nonnull Tree versionStoreTree, @Nullable PropertyState property) {
TreeLocation location = getVersionableLocation(versionStoreTree, property);
ReadStatus status;
if (location != null) {
Tree tree = (property == null) ? location.getTree() : location.getParent().getTree();
if (tree == null) {
long permission = (property == null) ? Permissions.READ_NODE : Permissions.READ_PROPERTY;
if (compiledPermissions.isGranted(location.getPath(), permission)) {