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


From: Clemm, Geoff <gclemm@rational.com>
Date: Sun, 15 Jul 2001 07:22:15 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B103A38624@SUS-MA1IT01>
To: WebDAV <w3c-dist-auth@w3.org>
I agree with Lisa that who can unlock a resource should be an
access control issue (exposable and controllable through the
access control protocol), and not something hard-wired into the
locking protocol.

I would extend this statement to say that this applies to any
use of a lock token on a resource, not just to who can use it
for UNLOCK.  So I would remove the "only by owner" language in
2518, which states that only the "owner" of a lock token can use it,
and replace it with "only a client with sufficient privileges".


-----Original Message-----
From: Lisa Dusseault [mailto:lisa@xythos.com]
Sent: Friday, July 13, 2001 6:07 PM
To: Jason Crawford; WebDAV
Subject: RE: rfc2818 issue: UNLOCK_BY_NON_LOCK_OWNER

Well, since I was the one who brought it up, here are my thoughts.

It seems not entirely unreasonable to have a system where the resource owner
can remove locks on their resource, even locks that the resource owner did
not create.  With ACLs in the mix, this makes even more sense.  After all,
if somebody has the ability to grant permission whether or not somebody can
lock a resource, they might as well have the ability to remove locks.

To the client that had their lock disappear, it's just like the lock
expired.  They can try to get another.  There may be changes they may have
to merge.

Now it doesn't have to be the resource owner that can do this.  It can be
entirely up to the implementation or the lock policy.  This is made nicely
possible in WebDAV because it makes the locktoken available for anybody to
use to try to UNLOCK the resource.  It just leaves it up to the
implementation whether or not to allow this to succeed.


> -----Original Message-----
> From: w3c-dist-auth-request@w3.org
> [mailto:w3c-dist-auth-request@w3.org]On Behalf Of Jason Crawford
> Sent: Wednesday, July 11, 2001 10:41 PM
> To: WebDAV
> Subject: rfc2818 issue: UNLOCK_BY_NON_LOCK_OWNER
> Okay All:   I'm going through the issue list and am going to try
> to present
> two issues per week for a while.  The first one up tonight is...
> ------------------------------------------------------------------
> At present, the specification is not explicit about who might be
> capable of
> grabbing a lock token via lock discovery and the submitting it in UNLOCK
> (and/or for a subsequent write operation). It is OK for the resource owner
> to grab the lock token and do UNLOCK/write? Is it OK to have a "grab lock
> token" privilege that can be assigned to anyone?
> -----------------------------------------------------------------
> The issues list notes that this was raised by Lisa Dusseault in private
> email (I believe to Jim).  I also believe we discussed what is largely the
> same issue briefly recently.  I think you can find them in reverse
> chronological order at...
> http://lists.w3.org/Archives/Public/w3c-dist-auth/2001AprJun/index
in various threads mentioning lock discovery in their subject.

I'll step back and let someone else kick of the discussion on this.


Phone: 914-784-7569,   ccjason@us.ibm.com
Received on Sunday, 15 July 2001 07:14:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:23 UTC