First, there are two kinds of locks: exclusive write locks and shared
write locks. The latter serves more or less only as an indication that
the resource is currently being edited. It does not prevent the
resource from being modified by a principal supplying the right lock
token.

Regarding exclusive locks, I guess you are right. Of course a user
with manage rights could unlock the resource and then make his
modifications, but IMHO he should not be allowed to directly modify
the locked resource. That said, I could not find a clear statement
about this situation in the specs.

Regards,
Ingo

> Thanks!
> 
> Should a user with manage rights also be able to alter the content or
> properties of a resource?
> 
> Root can perform a proppatch on a file which has been locked by another
> user! That does not seem right to me - I can understand why unlock is
> allowed. But altering a file that another user is working on goes =
> against
> the purpose of lock - or am I wrong?
> 
> /Jacob
> 
> 
> -----Original Message-----
> From: Ingo Brunberg [mailto:[EMAIL PROTECTED]
> Sent: 27. oktober 2003 14:19
> To: [EMAIL PROTECTED]
> Subject: Re: lock/unlock problem
> 
> Yes, that's correct. Another user than the lock owner can unlock a
> resource if he has the appropriate privilege and supplies the right
> lock token.
> 
> If I'm not wrong the privilege to unlock a resource in Slide is
> represented by the /actions/manage node. Have a look at Domain.xml.
> 
> Regards,
> Ingo
> 
> > Hi all!
> >=20
> > I have a standard version of slide with standard users root and john! =
> If =3D
> > I
> > apply a lock to a resource using john as login, then I am able to =
> remove =3D
> > the
> > lock using root as login?! Is this correct according to WebDAV?
> >=20
> > I am using a 2 week old version of slide 2!
> >=20
> > /Jacob


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to