Hi,

I'm using Slide 2.0 and I've several problems when I grant or revoke permissions using 
a webdav client (a custom one and slide-webdavclient)
Slide is running on 2 servers : (Tomcat 5.0.24/win and tomcat 5.0.24/linux)
acl_inheritance_type is set to 'path' (default value)

1 - Inherited flag unused :
When I create a new permission on a collection using the client lib, i noticed that 
slide seems to ignore the "inherited" flag. Even if i use setInherited( false), 
inherited is always set to true in the server's metadata (store/metadata/ ???.def.xml).
I checked deeper in Slide code, and i found that slide doesn't even try to read this 
flag, and always set inherited to true :
org.apache.slide.webdav.method.AclMethod
line 158 : NodePermission np = new NodePermission(objectUri, subjectUri, actionUri, 
true, negative);

2 - Some kind of acl corruption, similar to the one described in this mail : 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05618.html :
I set a permission using slide client ( read on /slide/files/test/  to /users/me) and 
I display the acl. Everything is OK, inherited permissions are here, and my perm is 
not inherited. Then, i do ls /slide/files/test/, it displays the content of test, it's 
OK. Then I display the acl one more time : the permission has changed and is now 
inherited from /slide/files/test, and the client is unable to delete it. ( it can't 
delete a perm inherited from another collection, and the perm is inherited from 
itself).

3 - If i try to revoke or grant a permission when the acl is corrupted (using aces = 
findAclMethod then aclmethod( aces ) ) All previous permissions are removed. I checked 
using eclipse that i call aclmethod with an array containing the same acls that I read 
but none of them is used. Same thing using the client.


Here are my questions :
-Are these problems corrected on the CVS HEAD ?
-Did I missed something in the configuration files or misunderstood the use of the 
inherited flag ?
-Is anybody successfully using a webdav client to set up slide permissions ? (I have 
to do it this way)

Thanks

-- 
Nicolas Richeton




 

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

Reply via email to