You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Nils Breunese (JIRA)" <ji...@apache.org> on 2016/05/27 11:20:13 UTC
[jira] [Commented] (JCR-3858) NodeIterator.getSize(): compatibility
with Jackrabbit 2.5
[ https://issues.apache.org/jira/browse/JCR-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303947#comment-15303947 ]
Nils Breunese commented on JCR-3858:
------------------------------------
Fix versions is not set for this issue. Can anyone tell me which released versions contain support for {{sizeEstimate}}? I see the change was committed to the trunk and the 2.6 branch on March 17th 2015. We're currently using 2.8.0, but neither 2.8.1 nor 2.9.1 seem to contain this feature.
> NodeIterator.getSize(): compatibility with Jackrabbit 2.5
> ---------------------------------------------------------
>
> Key: JCR-3858
> URL: https://issues.apache.org/jira/browse/JCR-3858
> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Affects Versions: 2.6.2, 2.7
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
>
> In Jackrabbit 2.5 and older, the query result set (NodeIterator.getSize()) was an estimation that sometimes included nodes that are not visible for the current user.
> This is a possible security problem. The behavior was changed (and the security problem fixed) in JCR-3402. However, this is an incompatibility with Jackrabbit 2.5.
> I suggest to make this configurable in workspace.xml / repository.xml (or a system property, if that turns out to be too complicated). The default is the current (secure) behavior, with the option to use the old variant.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)