[ https://issues.apache.org/jira/browse/OAK-8490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886772#comment-16886772 ]
angela commented on OAK-8490: ----------------------------- [~stillalex], proposed patch for {{ImmutableRoot}} attached including test cases illustrating the issue. unless you have concerns regarding the proposed changes, i would commit it along with extra unit tests for {{ImmutableRoot}}. > FilterProviderImpl.getFilter may fail if principal cache enabled > ---------------------------------------------------------------- > > Key: OAK-8490 > URL: https://issues.apache.org/jira/browse/OAK-8490 > Project: Jackrabbit Oak > Issue Type: Bug > Components: authorization-principalbased, core > Reporter: angela > Assignee: angela > Priority: Major > Fix For: 1.16.0 > > Attachments: OAK-8490.patch > > > in case principal caching is enabled (see {{UserPrincipalProvider}}), calling > {{FilterProviderImpl.getFilter}} with a readonly {{Root}} will fail because > it fails to obtain the contentsession/authInfo from the {{ImmutableRoot}} > object. -- This message was sent by Atlassian JIRA (v7.6.14#76016)