[
https://issues.apache.org/jira/browse/OAK-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640449#comment-13640449
]
Antonio Sanso commented on OAK-794:
-----------------------------------
[~anchela] thanks for spot the problem in the patch!
> CompiledPermissionImpl#getReadStatus wrong ordering
> ---------------------------------------------------
>
> Key: OAK-794
> URL: https://issues.apache.org/jira/browse/OAK-794
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Antonio Sanso
> Attachments: OAK-794-patch.txt
>
>
> CompiledPermissionImpl#getReadStatus takes in consideration the priority for
> the userEntry versus the groupEntry.
> The issue is that in case the readStatus has been calculated this priority
> has been already took in consideration in the
> CompiledPermissionImpl#buildReadStatus.
> Taking in consideration twice will break the logic.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira