W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2007

Re: overwrite and depth-0 locks

From: Geoffrey M Clemm <geoffrey.clemm@us.ibm.com>
Date: Wed, 28 Mar 2007 19:09:34 -0400
To: "Tim Olsen" <tolsen718@gmail.com>
Cc: w3c-dist-auth@w3.org, w3c-dist-auth-request@w3.org
Message-ID: <OF20B0460C.E263EF3F-ON852572AC.007C78F9-852572AC.007F37FB@us.ibm.com>
All use cases below other than #1 require the locktoken.

Cheers,
Geoff

w3c-dist-auth-request@w3.org wrote on 03/28/2007 04:17:04 PM:

> 
> Let's say you have resources /a/b and /c/d.  There is a depth-0 lock
> on collection /c
> 
> Of the following cases, which ones require the locktoken for the lock on 
/c?
> 
> 1.
> COPY /a/b
> Destination: /c/d
> Overwrite: T
> 
> 2.
> MOVE /a/b
> Destination: /c/d
> Overwrite: T
> 
> 3.
> REBIND /c
> Overwrite: T
> 
> <D:rebind xmlns:D="DAV:">
>    <D:segment>d</D:segment>
>    <D:href>/a/b</D:href>
> </D:rebind>
> 
> 4.
> BIND /c
> Overwrite: T
> 
> <D:bind xmlns:D="DAV:">
>    <D:segment>d</D:segment>
>    <D:href>/a/b</D:href>
> </D:bind>
> 
> I believe #1 does not require the locktoken.  I'm not sure about the
> other ones.
> 
> Thanks for the help.
> 
> -Tim
> 
Received on Wednesday, 28 March 2007 23:09:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:15 GMT