[ 
https://issues.apache.org/jira/browse/SLING-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-2093.
-------------------------------------

    Resolution: Fixed

Committed a different fix in revision 1142950.
This fix restores the old logic but checks if parent resources are not 
accessible

> Reverse mapping with insufficient access rights truncates path
> --------------------------------------------------------------
>
>                 Key: SLING-2093
>                 URL: https://issues.apache.org/jira/browse/SLING-2093
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.10
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.12
>
>         Attachments: SLING-2093-test.patch, sling-2093-r1130338.patch, 
> sling-2093-r113118.patch
>
>
> when a user has read access to a node but not it's parent nodes, the reverse 
> mapping aborts during the alias resolution and leaves the path truncated.
> eg: map("/content/foo/bar") -> "/bar" (if user can't read /content/foo).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to