In theory it should be something like the following:

<data>
  ...
  <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users">
    <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/john">
      <revision>
        <property name="password"
namespace="http://jakarta.apache.org/slide/";>john</property>
      </revision>
    </objectnode>
    <objectnode classname="org.apache.slide.structure.GroupNode"
uri="/users/groupA">
      <objectnode 
        classname="org.apache.slide.structure.LinkNode" 
        uri="/users/groupA/john"
        linkedUri="/users/john" 
      />
    </objectnode>
  </objectnode>

 ...

See also the 'understanding Domain.xml' page
(http://jakarta.apache.org/slide/config_file.html).

Now, I was trying grouping yesterday with the latest Slide checkout but
got some errors (see my previous mail on this list). I am going to look
into it some more later on. Keep me posted whether you got it working.

Cheers, Unico

> -----Original Message-----
> From: Andy Redhead [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 9 december 2003 10:26
> To: 'Slide Users Mailing List'
> Subject: Groups, users and permissions example
> 
> Hi,
> 
>  
> 
> I've managed to get the latest version of slide (from cvs) to 
> work as an ordinary servlet, using a tomcat realm for 
> authentication.  
> 
>  
> 
> However, I have become completely unstuck trying to define 
> groups in Domain.xml, put users into those groups and then 
> use the groups to assign permissions.  
> 
>  
> 
> I'd be very grateful if someone could show me an example 
> Domain.xml which uses these features.
> 
>  
> 
> Thanks
> 
>  
> 
> Andy
> 
> 
> 

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

Reply via email to