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

Eric Norman closed SLING-12185.
-------------------------------

> AuthorizableResourceProvider getResource matches wrong prefix
> -------------------------------------------------------------
>
>                 Key: SLING-12185
>                 URL: https://issues.apache.org/jira/browse/SLING-12185
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: JCR Jackrabbit User Manager 2.2.30
>
>
> resourceResolver.getResource("/userManager/user/group1") returns a resource 
> object  when it should return null because the path of the group resource is 
> actually "/userManager/group/group1"
>  
> Expected:
> The AuthorizableResourceProvider needs to check the type of the found 
> Authorizable to ensure that the object type matches the expected resource 
> path prefix before using it to return an AuthorizableResource.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to