You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2012/08/20 09:27:38 UTC
[jira] [Commented] (JCR-3412) UserManager.findAuthorizables() does
not work, if session does not have read access to /home
[ https://issues.apache.org/jira/browse/JCR-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437705#comment-13437705 ]
angela commented on JCR-3412:
-----------------------------
which signature of the findAuthorizables did you use? that would be required to know in order to reproduce the issue.
given the exception i suspect that this is a query issue (-> adding components)
> UserManager.findAuthorizables() does not work, if session does not have read access to /home
> --------------------------------------------------------------------------------------------
>
> Key: JCR-3412
> URL: https://issues.apache.org/jira/browse/JCR-3412
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core, query, security
> Affects Versions: 2.4
> Reporter: Tobias Bocanegra
>
> If the session does not have read access to /home, the UserManager.findAuthorizables() does not find anything.
> log shows:
> org.apache.jackrabbit.core.query.lucene.DescendantSelfAxisQuery Access denied to node id d8cbdd0f-4fe1-473f-b452-219a3eb3d867.
> Where as this query works, and returns the user homes the session has read access to:
> /jcr:root//element(*,rep:User)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira