> Is there any sample code to show how to use the new 
> ACL-Draft-12 group stuff?

Please have a look at default Domain.xml shipped with Slide 2.0b1. There, you'll find 
4 users configured: /users/root, /users/john, /users/john2 and /users/guest. Moreover, 
there are 3 roles configured: /roles/root, /roles/user and /roles/guest. The user-role 
relationship is established through the DAV:group-member-set property. For instance, 
you'll find /users/john, /users/john2 and /users/root belonging to /roles/user. Note 
that /users/root is also a member of /roles/root.

Through WebDAV, you can link a user to a role by PROPPATCH'ing the 
DAV:group-member-set property of the role. As a non-standard feature, in Slide you 
also can create new principals through WebDAV by means of the MKCOL method, e.g. MKCOL 
/slide/users/peter creates a new user.

Merely the maintenance of users and roles over the native Slide API became a bit 
unhandy through the ACL-DRAFT-12 changes: the NodeProperty instances corresponding to 
DAV:group-member-set have to be properly provided with lists of XML <href> elements 
... :(  It is still a TODO to add some convenience here. 

Regards,
Peter 

> -----Original Message-----
> From: Willie Vu [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 04:27
> To: 'Slide Users Mailing List'
> Subject: RE: Is GroupNode really necessary?
> 
> 
> > Currently, the ACL-Draft-12 compliant implementation is 
> > coexisting with the previous security implementation ... I 
> > left the old stuff in order to not breaking existing code. 
> > 
> 
> The old code used to prepend group node URI with "+" sign.  
> It is broken in 2.0
> b1.  I filed a bug for
> that(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27560).
> 
> Is there any sample code to show how to use the new 
> ACL-Draft-12 group stuff?
> 
> Thanks.
> 
> 
> Willie Vu
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to