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

Jukka Zitting commented on OAK-460:
-----------------------------------

Do we need to worry about that? If it's not a big problem, I'd simply have 
{{getDefinition()}} throw an exception in such cases as the requested 
information is not available.
                
> Node#getDefinition and Property#getDefinition depend on the accessibility of 
> the parent node
> --------------------------------------------------------------------------------------------
>
>                 Key: OAK-460
>                 URL: https://issues.apache.org/jira/browse/OAK-460
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: angela
>
> currently the definition of a given item is obtained by reading the
> node type information of the parent node and is thus relying on the
> accessibility of the parent node. as discussed previously in other
> occasions we cannot rely on this as access to the parent might be
> denied.
> in the long run we may want to think about a way on how to determine
> the definition (or parts of the definition such as for example 
> information about the protection status) in the absence of the parent.

--
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