[
https://issues.apache.org/jira/browse/SLING-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943622#comment-16943622
]
Nicolas Peltier commented on SLING-8761:
----------------------------------------
https://github.com/apache/sling-org-apache-sling-jcr-resource/pull/5
> Resource.getParent() should not generate silent AccessDeniedException
> ---------------------------------------------------------------------
>
> Key: SLING-8761
> URL: https://issues.apache.org/jira/browse/SLING-8761
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Resource 3.0.18
> Reporter: Nicolas Peltier
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> caconfig lookup with no config generates AccessDeniedException, which can be
> a lot
> Resource.getParent() API does not feel like it could cost performances. We
> should use things like getItemOrNull to fetch the parent.
> https://lists.apache.org/thread.html/0b4186ea012741418b1bcccd6bdad7131bbd83a9b70a0c684ca4ed6b@%3Cdev.sling.apache.org%3E
--
This message was sent by Atlassian Jira
(v8.3.4#803005)