[
https://issues.apache.org/jira/browse/OAK-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324174#comment-14324174
]
angela commented on OAK-2109:
-----------------------------
rechecked the code: unless we have a public API that allows to get the
PermissionProvider associated with a given Root, we can't get rid of the 2
separate instances. I will change this issue to improvement and resolve LATER;
we can then try to address the improvement if we see major issues with this.
> PermissionProvider#refresh called twice from the SessionDelegate
> ----------------------------------------------------------------
>
> Key: OAK-2109
> URL: https://issues.apache.org/jira/browse/OAK-2109
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Alex Parvulescu
> Assignee: angela
> Priority: Minor
>
> The SessionDelegate#refresh call includes a _permissionProvider.refresh()_
> call [0], but this is already called via the root instance on both cases
> root#rebase and root#refresh.
> [0]
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/SessionDelegate.java#L497
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)