From dev-return-94066-archive-asf-public=cust-asf.ponee.io@sling.apache.org Wed Nov 28 01:21:05 2018 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 39F69180670 for ; Wed, 28 Nov 2018 01:21:05 +0100 (CET) Received: (qmail 52012 invoked by uid 500); 28 Nov 2018 00:21:04 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 52001 invoked by uid 99); 28 Nov 2018 00:21:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2018 00:21:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B355DC1A84 for ; Wed, 28 Nov 2018 00:21:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id u3v5xjokRExF for ; Wed, 28 Nov 2018 00:21:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5241060DF7 for ; Wed, 28 Nov 2018 00:21:01 +0000 (UTC) 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 767D3E00B4 for ; Wed, 28 Nov 2018 00:21: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 422C121096 for ; Wed, 28 Nov 2018 00:21:00 +0000 (UTC) Date: Wed, 28 Nov 2018 00:21:00 +0000 (UTC) From: "Eric Norman (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SLING-8139) Improve support to read/write ACE restrictions from AccessControlUtil MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-8139?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-8139: ------------------------------- Description:=20 Support for read/write of restrictions on the ACE has only partially been i= mplemented in the sling jcr.base AccessControlUtil operations.=C2=A0 =C2=A0 However it looks like adding support for read/write of ACE restrictions wo= uld not be too difficult and it looks like it could be useful to the commun= ity. =C2=A0 It looks like changes would be needed in the=C2=A0org.apache.sling.jcr.bas= e bundle, specifically these: =C2=A0 1. org.apache.sling.jcr.base =C2=A0 =C2=A0 a) Changes to the AccessControlUtil addEntry/replaceAccessCo= ntrolEntry methods to support passing in and processing of restrictions and= multi-value restrictions was: Support for read/write of restrictions on the ACE has not yet been implemen= ted in the sling jackrabbit.accessmanager REST operations.=C2=A0 =C2=A0 However it looks like adding support for read/write of ACE restrictions wo= uld not be too difficult and it looks like it could be useful to the commun= ity. =C2=A0 It looks like changes would be needed in a few bundles, specifically these= : =C2=A0 1. org.apache.sling.jcr.base=C2=A0( common changes with SLING-8118=C2=A0) =C2=A0 =C2=A0 a) Changes to the AccessControlUtil addEntry/replaceAccessCo= ntrolEntry methods to support passing in and processing of restrictions 2. org.apache.sling.jcr.jackrabbit.accessmanager =C2=A0 =C2=A0 a) ModifyAce - changes to process posted "restriction" param= eters to be set =C2=A0 =C2=A0 b) GetAcl/GetEffectiveAcl servlets - changes to return the d= eclared restriction values in the returned JSON =C2=A0 =C2=A0 c) PrivilegesInfo - add methods to read the declared restric= tions to be used from scripts who are interested in such things 3. Plus some automated tests and updated documentation... =C2=A0 > Improve support to read/write ACE restrictions from AccessControlUtil > --------------------------------------------------------------------- > > Key: SLING-8139 > URL: https://issues.apache.org/jira/browse/SLING-8139 > Project: Sling > Issue Type: New Feature > Affects Versions: JCR Base 3.0.4 > Reporter: Eric Norman > Assignee: Eric Norman > Priority: Major > Fix For: JCR Base 3.0.6 > > > Support for read/write of restrictions on the ACE has only partially been= implemented in the sling jcr.base AccessControlUtil operations.=C2=A0 > =C2=A0 > However it looks like adding support for read/write of ACE restrictions = would not be too difficult and it looks like it could be useful to the comm= unity. > =C2=A0 > It looks like changes would be needed in the=C2=A0org.apache.sling.jcr.b= ase bundle, specifically these: > =C2=A0 > 1. org.apache.sling.jcr.base > =C2=A0 =C2=A0 a) Changes to the AccessControlUtil addEntry/replaceAccess= ControlEntry methods to support passing in and processing of restrictions a= nd multi-value restrictions -- This message was sent by Atlassian JIRA (v7.6.3#76005)