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

Re: 'owner' in dav LOCK request. (Julian Reschke, you out there?)

From: Greg Stein <gstein_at_lyra.org>
Date: 2004-12-01 23:39:57 CET

On Wed, Dec 01, 2004 at 04:32:26PM -0600, Ben Collins-Sussman wrote:
>...
> Okay, so what I'm hearing is that the "owner" field in a DAV lock is
> somewhat of a misnomer: it might be more apt to call it
> "scratch-notes" or something. The RFC requires only that we preserve
> and return this field, should the client choose to send it. The field
> has nothing whatsoever to do with authentication or enforcement.
>
> Is that about right?

Just right.

> If so, then I guess the best thing to do is create a new field in
> svn_lock_t, and we'll call it "comment". We'll map the DAV:owner
> metadata to this new field. Meanwhile, svn_lock_t->owner will continue
> to be used for "real" enforcement under the hood, and will be directly
> mapped to the authenticated username.

Sounds good. +1

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 1 23:38:52 2004

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.