[ 
https://issues.apache.org/jira/browse/OAK-8284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davide Giannella closed OAK-8284.
---------------------------------

bulk close 1.14.0

> Improvements to EntryPredicate
> ------------------------------
>
>                 Key: OAK-8284
>                 URL: https://issues.apache.org/jira/browse/OAK-8284
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, security
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.14.0
>
>         Attachments: EntryPredicate.patch
>
>
> [~stillalex], while working on overall coverage of the permission evaluation 
> code base i found  
> {{org.apache.jackrabbit.oak.security.authorization.permission.EntryPredicate}}
>  confusing and hard to understand. attached patch contains an attempt to 
> simplify and improve this class central to permission evaluation by 
> completely separating the 3 major cases: 
> - evaluation for repository level (no path, no tree), 
> - evaluation based on a non-null path and finally 
> - evaluation based on a non-null tree object and an optional property. 
> feedback welcome.



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

Reply via email to