Nicolas Richeton wrote:
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);

That's correct. The ACL protocol doesn't have any way to specify this. The reason it _looks_ like it does in the client library is because this library shares the relevant objects between requests and responses - and the protocol does allow a response to say "this ACE is inherited".


I'm not sure what's going on with the other problem(s) you describe, but this one isn't a bug.

Mike


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



Reply via email to