Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5914710E0D for ; Wed, 5 Feb 2014 18:36:04 +0000 (UTC) Received: (qmail 93725 invoked by uid 500); 5 Feb 2014 18:36:03 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 93687 invoked by uid 500); 5 Feb 2014 18:36:03 -0000 Mailing-List: contact oak-dev-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-dev@jackrabbit.apache.org Received: (qmail 93679 invoked by uid 99); 5 Feb 2014 18:36:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 18:36:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 209.85.219.50 as permitted sender) Received: from [209.85.219.50] (HELO mail-oa0-f50.google.com) (209.85.219.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 18:35:56 +0000 Received: by mail-oa0-f50.google.com with SMTP id n16so956246oag.37 for ; Wed, 05 Feb 2014 10:35:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=mcz/dt6wI3Ds6Rmy8wcL76/1j87d+NgQ55uDgLeqqcs=; b=bGI59NMVAboJCfSJTFM/lK/eJoBbSkK+4D8qIUUpoPlWmISyUFG1WlkZlcZU0oaStY 6A7gI1jneBags3l2Rm9w7djtkw/C7jtOKlLKPZ6ynV+GVUt4glHM3l3k0GwMK6huOdXF 4gxxPXiGS/YG0FCALVOe63V/bEGrBTuPyxX7prix4tzon/tyMOIEgWPJayOY5pdiOjZO CpkiOPIdKDJ7vDVdOkYnDBGpZTvCX+BrfREK9JczpdTbvDaSWqnrBUH82X69Z7xYp6U5 uHf3Y1YgTw7Og6kbPOiaIU83yezWxkAtJrwqGV7gJ+p72GLuMFvR6ynM3AD/X4wnvyNF Kl+w== X-Received: by 10.60.65.101 with SMTP id w5mr2803777oes.0.1391625335644; Wed, 05 Feb 2014 10:35:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.153.198 with HTTP; Wed, 5 Feb 2014 10:35:15 -0800 (PST) In-Reply-To: References: From: Jukka Zitting Date: Wed, 5 Feb 2014 13:35:15 -0500 Message-ID: Subject: Re: Securing Workspace#copy To: Oak devs Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Wed, Feb 5, 2014 at 1:19 PM, Angela Schreiber wrote: > would we in this case still have the need for Root#copy? > wouldn't it be better then to just drop that and build > Workspace#copy in oak-jcr altogether? That would make sense, yes. The only case I can see for not doing this would be having an Oak-based non-JCR repository that doesn't need to worry about things like access control, versioning or locking. Such a repository could benefit from a copy-by-reference operation, but for now I'd be happy to drop the feature at the Oak level and only restore it if/when a new use case comes along. BR, Jukka Zitting