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

angela commented on OAK-7856:
-----------------------------

[~stillalex], no sure i can follow you here. the cnt reflects the number of 
access controlled paths stored below the given principals e.g. the number of 
nodes with an 'rep:accessControlledPath' property. if one was left (without any 
entries underneath) the resulting entry-set would be empty but the 
accesscontrolled-paths-counter would still reflect the fact that entries for 
this path have been loaded. if no 'node' is present for a given path (not 
access controlled), null is returned instead of a collection in which case we 
only remember that we checked that path.

> 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
>             Fix For: 1.10, 1.9.10
>
>         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)

Reply via email to