[
https://issues.apache.org/jira/browse/OAK-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840075#comment-16840075
]
angela commented on OAK-8155:
-----------------------------
[~stillalex], based on our discussion last week, i created another patch with a
slightly different approach not attaching the abort criteria to the
{{AggregatedPermissionProvider}} interface and ended up moving the evaluation
to a very early stage when computing the composite permission provider in the
{{CompositeAuthorizationConfiguration}}. feedback welcome as always.
> CompositePermissionProvider: add possibility to abort evaluation
> ----------------------------------------------------------------
>
> Key: OAK-8155
> URL: https://issues.apache.org/jira/browse/OAK-8155
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: security, security-spi
> Reporter: angela
> Assignee: angela
> Priority: Major
> Attachments: OAK-8155-2-test.patch, OAK-8155-2.patch,
> OAK-8155-3.patch, OAK-8155-test.patch, OAK-8155.patch
>
>
> when aggregating multiple authorization models we currently have the ability
> to choose between CompositionType.AND and CompositionType.OR for the
> evaluation of effective permissions. In other words as soon as more than 1
> PermissionProvider is present for the evaluation the results of that
> evaluation are either combined in an AND or OR fashion.
> however, we currently lack the ability to stop or abort the evaluation if a
> given provider instance was 'sufficient' to determine if a given set of
> permissions is granted or denied.
> [~stillalex], let's discuss ideas and options on how we could achieve this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)