[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ev2 and Authz

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Sat, 14 Apr 2012 10:00:08 -0500

Good morning (in some parts of the world)!

I've been doing some poking around with Ev2 and copy operations on the
ev2-export branch, and have some observations which merit discussion.

In the working copy and elsewhere, all versioned nodes map to a
repos_relpath, and I've found it greatly simplifies things if we use
that repos relpath in Ev2 operations. Since an Ev2 drive doesn't need
to be "anchored" anywhere, using the repos_relpath in this way is
analogous to using local_abspaths throughout the working copy, giving
every node a single canonical name.

However, this has implications in the world of the dreaded issue 3242.
 For instance, if a session is parented at the root, where the user
cannot write, then executes write operations somewhere deep in the
tree, where the user does have write privileges, we will produce
errors. This is obviously non-sensical and undesirable.

If somebody can write to /A/B/C/D, they should be able to open an
ra_session to any of the parents and write to their allowable paths
without consequence. I know this problem has been known for some
time; has anybody looked at what it would take to solve it?

-Hyrum

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
Received on 2012-04-14 17:00:42 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.