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

RE: Reason for disappearing lock-null resources

From: Clemm, Geoff <gclemm@rational.com>
Date: Thu, 2 Aug 2001 10:39:49 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B103CA9013@SUS-MA1IT01>
To: Webdav WG <w3c-dist-auth@w3c.org>
   From: Lisa Dusseault [mailto:lisa@xythos.com]

   I think I reconstructed why lock-null resources were designed to
   disappear when their locks go away.  It's because lock-null
   resources may be created accidentally, then they may not be
   removable if the user doesn't have delete permission.

That probably is right, and it also highlights why lock-null resources
are unlikely to be implemented in multi-protocol repositories.  In
order to maintain DAV locking semantics, a multi-protocol repository
will allocate a "regular" resource as the result of applying a LOCK to
an unmapped URL.  But then at UNLOCK time, the regular resource
constraints will apply, and you may be able to unlock the resource but
not be able to delete that regular resource that was created to hold
the lock.  A secure repository is unlikely to give the WebDAV process
a hammer big enough to violate the underlying acl constraints on a
resource, and so the resource will remain undeleted, no matter what
the protocol says.  It would be preferable to make this behavior
predictable.

Cheers,
Geoff
Received on Thursday, 2 August 2001 10:40:21 GMT

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