W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2002

RE: New RFC2518bis draft, COPY / MOVE of live properities

From: Lisa Dusseault <ldusseault@xythos.com>
Date: Wed, 24 Jul 2002 13:14:33 -0400
Message-ID: <27889B08CAEC7049B68FAD8717BA6017371BC1@ATL1VEXC006.usdom004.tco.tc>
To: "Clemm, Geoff" <gclemm@rational.com>, <w3c-dist-auth@w3c.org>

It depends on the precise wording of the language. One alternative is to
be loose, allowing servers compliant with 2518 to still be compliant
with 2518bis (with either MAY or SHOULD, I'm not sure yet):

"A MOVE operation MAY fail (403 Forbidden) if the live properties of the
source cannot be live properties of the destination.  The server MAY
remove live properties that are no longer appropriate at the
destination."

A stricter alternative:

"All live properties on the source resource MUST become live properties
on the destination resource with appropriate values and the same
semantics. If the server cannot guarantee this, it MUST fail the request
with 403 Forbidden."

The problem with the stricter alternative is that it forbids a server
from removing a live property.  E.g. in collection "drafts", the
property "draftstatus" (in some custom namespace) can be set by clients
and the server allows certain actions on the resource based on the value
of this property.  Therefore "draftstatus" is a live property. When the
resource is moved to the "publish" collection, "draftstatus" is no
longer appropriate as a live property at all.  May the server remove it?

Lisa

> -----Original Message-----
> From: Clemm, Geoff [mailto:gclemm@rational.com]
> Sent: Wednesday, July 24, 2002 5:35 AM
> To: w3c-dist-auth@w3c.org
> Subject: RE: New RFC2518bis draft, COPY / MOVE of live properities
> 
> 
> I don't quite understand the first part of the question.
> If we say that the live properties must continue live at
> the destination, what more do we need to say?  (I.e. what
> situation is left ambiguous?).
> 
> For the second part, a 403 (Forbidden) seems right to me.
> 
> Cheers,
> Geoff
> 
> -----Original Message-----
> From: Lisa Dusseault [mailto:ldusseault@xythos.com]
> Sent: Tuesday, July 23, 2002 5:59 PM
> To: w3c-dist-auth@w3c.org
> Subject: RE: New RFC2518bis draft, COPY / MOVE of live properities
> 
> 
> 
> 
> If a MOVE operation MAY fail when live properties can't be continued
as
> live properties at the destination, what should we say about when the
> server can allow the MOVE and when it can't? Is it entirely up to the
> server or should we make a recommendation?
> 
> Then, if the server does fail, what error code should be returned?
> 
> Lisa
Received on Wednesday, 24 July 2002 13:15:15 GMT

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