From oak-issues-return-69699-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Tue Apr 2 09:34:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F38A318067E for ; Tue, 2 Apr 2019 11:34:02 +0200 (CEST) Received: (qmail 29307 invoked by uid 500); 2 Apr 2019 09:34:01 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 29291 invoked by uid 99); 2 Apr 2019 09:34:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2019 09:34:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DAD68E20CD for ; Tue, 2 Apr 2019 09:34:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3DFC82459D for ; Tue, 2 Apr 2019 09:34:00 +0000 (UTC) Date: Tue, 2 Apr 2019 09:34:00 +0000 (UTC) From: "angela (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OAK-8155) CompositePermissionProvider: add possibility to abort evaluation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807587#comment-16807587 ] angela commented on OAK-8155: ----------------------------- [~stillalex], an alternative approach to likely achieve a similar result would be an option with the default model that allowed for exclude certain paths from the evaluation. > 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 > Fix For: 1.12.0 > > > 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)