[ 
https://issues.apache.org/jira/browse/SLING-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598692#comment-13598692
 ] 

Carsten Ziegeler commented on SLING-2783:
-----------------------------------------

No you don't disagree :) we agree; this depends on how the resource provider is 
mounted, I thought of the situation where a provider claims to own the sub tree 
while you're thinking about the shadowing case.

So, the search should not return resources which are not accessible via 
ResourceResolver#getResource
                
> Search implementation does not respect resource providers
> ---------------------------------------------------------
>
>                 Key: SLING-2783
>                 URL: https://issues.apache.org/jira/browse/SLING-2783
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.2.4
>            Reporter: Carsten Ziegeler
>             Fix For: JCR Resource 2.2.6
>
>
> If a search is performed by the JCR Resource Provider the returned set is not 
> checked whether these resources/nodes are accessible through the resource 
> tree.
> For example a different resource provider might be mounted at /libs - 
> therefore all results for this sub tree need to be discarded.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to