jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Deparvu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7856) PrincipalPermissionEntries: non-accesscontrolled path must be ignored for fullyLoaded flag
Date Tue, 23 Oct 2018 12:58:00 GMT

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

Alex Deparvu commented on OAK-7856:
-----------------------------------

On second thought, I think maybe {{putEntriesByPath}} should check for empty {{pathEntries}}
param and treat it as an empty path if needed (that was my local patch). what do you think?

> PrincipalPermissionEntries: non-accesscontrolled path must be ignored for fullyLoaded
flag
> ------------------------------------------------------------------------------------------
>
>                 Key: OAK-7856
>                 URL: https://issues.apache.org/jira/browse/OAK-7856
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>         Attachments: OAK-7856.patch
>
>
> [~stillalex] spotted an issue with the calculation of the 'fullyLoaded' flag inside {{PrincipalPermissionEntries}}:
since lookup non-accesscontrolled paths is also remembered the fullyLoaded flag may be mistakenly
flipped to {{true}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message