You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2014/01/30 10:06:09 UTC
[jira] [Commented] (OAK-1083) Query with descendent node and access
control fails to return result
[ https://issues.apache.org/jira/browse/OAK-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886428#comment-13886428 ]
Thomas Mueller commented on OAK-1083:
-------------------------------------
The query is missing a @, it should be @id='aaron.mcdonald@mailinator.com'
> Query with descendent node and access control fails to return result
> --------------------------------------------------------------------
>
> Key: OAK-1083
> URL: https://issues.apache.org/jira/browse/OAK-1083
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, security
> Affects Versions: 0.9
> Reporter: Chetan Mehrotra
> Assignee: Thomas Mueller
> Priority: Minor
> Labels: compatibility
> Fix For: 0.11
>
> Attachments: OAK-1083-testcase.patch
>
>
> The scenario is bit complex. Running a query with following condition does not give any result
> * Node path is like {{/home/users/geometrixx-outdoors/emily.andrews@mailinator.com/social/relationships/following/aaron.mcdonald@mailinator.com}}
> * It has a Glob jcr:read for everyone at {{\*/social/relationships/following/\*}}
> * The query is like
> bq. /jcr:root/home//social/relationships/following//*[id='aaron.mcdonald@mailinator.com']
> * The query is executed with anonymous session
> On JR2 it returns expected result while on Oak it does not give any result
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)