Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 958982009E8 for ; Mon, 30 May 2016 13:24:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9429F160A19; Mon, 30 May 2016 11:24:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DCC88160A16 for ; Mon, 30 May 2016 13:24:49 +0200 (CEST) Received: (qmail 17247 invoked by uid 500); 30 May 2016 11:24:48 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 17235 invoked by uid 99); 30 May 2016 11:24:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2016 11:24:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 291DE180603 for ; Mon, 30 May 2016 11:24:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.726 X-Spam-Level: X-Spam-Status: No, score=-3.726 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QymKcDngTRV5 for ; Mon, 30 May 2016 11:24:45 +0000 (UTC) Received: from sophosmail.orix.com.au (sophosmail.orix.com.au [203.23.109.50]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 96A635F36F for ; Mon, 30 May 2016 11:24:44 +0000 (UTC) Received: from sophosmail.orix.com.au (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id AE72D36777D_74C22F3B for ; Mon, 30 May 2016 11:24:35 +0000 (GMT) Received: from vho64pl02.orix.com.au (unknown [10.10.10.1]) by sophosmail.orix.com.au (Sophos Email Appliance) with ESMTP id 353573676DD_74C22F3F for ; Mon, 30 May 2016 11:24:35 +0000 (GMT) Received: from orix.com.au (unknown [127.0.0.1]) by vho64pl02.orix.com.au (Postfix) with SMTP id 214AC36084 for ; Mon, 30 May 2016 11:24:35 +0000 (UTC) Received: from vho64pw40.orix.com.au (vho64pw40.orix.com.au [10.10.20.140]) by vho64pl02.orix.com.au (Postfix) with ESMTP id DE99036080; Mon, 30 May 2016 21:24:34 +1000 (AEST) Received: from VHO64PW40.orix.com.au (10.10.20.140) by vho64pw40.orix.com.au (10.10.20.140) with Microsoft SMTP Server (TLS) id 15.0.995.29; Mon, 30 May 2016 21:24:33 +1000 Received: from VHO64PW40.orix.com.au ([fe80::58e7:d0d7:59f0:8c3]) by vho64pw40.orix.com.au ([fe80::58e7:d0d7:59f0:8c3%12]) with mapi id 15.00.0995.032; Mon, 30 May 2016 21:24:33 +1000 From: Phil Crooker To: Stefan Sperling CC: "users@subversion.apache.org" Subject: RE: view log problem with path authorization Thread-Topic: view log problem with path authorization Thread-Index: AQHRtZapj9wvO8m6JUqoNtFV2LcfNp/QsVoAgACt0nM= Date: Mon, 30 May 2016 11:24:32 +0000 Message-ID: <1464607472381.16792@orix.com.au> References: <1464079229507.65221@orix.com.au>,<20160530105740.GH832@ted.stsp.name> In-Reply-To: <20160530105740.GH832@ted.stsp.name> Accept-Language: en-AU, en-US Content-Language: en-AU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.20.145] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Mon, 30 May 2016 11:24:50 -0000 Thanks, Stefan, for the explanation. It has been very puzzling, this makes = sense now. A feature, not a bug. ;-) ________________________________________ From: Stefan Sperling Sent: Monday, 30 May 2016 8:27 PM To: Phil Crooker Cc: users@subversion.apache.org Subject: Re: view log problem with path authorization On Tue, May 24, 2016 at 08:40:29AM +0000, Phil Crooker wrote: > Newbie question - I have authenticated users with read or r/w access are = unable to view logs, eg: > > > # svn --username whatever --password xxxxx svn://svn/repos/project/ya= da.txt > > svn: Item is not readable > > I must grant anonymous read access in authz and then it works: > > > [/] > > * =3D r > > > I've seen this reported earlier but no answer: > > > http://svn.haxx.se/users/archive-2011-02/0141.shtml > > http://stackoverflow.com/questions/6651997/svn-show-log-not-working > > > My question is why can't an authenticated user who has rights see the log= s? Hi Phil, The use case scenario behind the design of the authz feature is the followi= ng: Imagine you're setting up a competition, where teams apply to compete and write some piece of software for you based on a specification. Your competition has the following contraints: - No team should be aware of who else is competing. - You're hosting all competing teams in a single repository. In this scenario, the following information must be protected: - file content - the knowledge of which paths exist in the repository - the knowledge of which authors make commits to the repository 'svn log' shows always the author name, and the list of changed paths is available with 'svn log -v'. And because log messages are free-form, they may contain content which would leak such information. For example, developers might refer to each other in log messages ("Review by: Robert") or they might refer to paths in the repository ("team1/project1/main.c: Fix crash with --help option.") That's why, if any path in the changed paths list of a revision is forbidden to the authenticated user, the *entire* information which would be provided by 'svn log' is hidden from that user. I suspect that, in your scenario, SVN denies access to the revision log based on the above reasoning. --=20 This message from ORIX Australia might contain confidential and/or privileged information. If you are not the intended recipient, any use, disclosure or copying of this message (or of any attachments to it) is not authorised. If you have received this message in error, please notify the sender immediately and delete the message and any attachments from your system. Please inform the sender if you do not wish to receive future communications by email. The ORIX Australia Privacy Policy outlines what kinds of personal=20 information we collect and hold, how we collect and handle it and your=20 rights in regards to your personal information. Our Privacy Policy is=20 available on our website: http://www.orix.com.au . We do not accept liability for any loss or damage caused by any computer=20 viruses or defects that may be transmitted with this message. We=20 recommend you carry out your own checks for viruses or defects.