[
https://issues.apache.org/jira/browse/SLING-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043396#comment-13043396
]
Justin Edelson commented on SLING-2093:
---------------------------------------
applied patch, minus if... continue... block which was concerned with workspace
prefixes as that is not relevant within the map() method
leaving this open because I'd like there to be some tests for this.
> 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: Justin Edelson
> Fix For: JCR Resource 2.0.12
>
> Attachments: sling-2093-r1130338.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