hi,
 I have the following data in the Domian.xml file.
  <data>

      <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/">

        <permission action="/actions" subject="root"/>
        <permission action="/actions/read" subject="user"
         inheritable="false"/>
        <permission action="/actions/read" subject="nobody"
         inheritable="false"/>

        <!-- /users represents the unauthenticated user -->

        <objectnode classname="org.apache.slide.structure.SubjectNode"
         uri="/users">

          <permission action="/actions" subject="~"/>
          <permission action="/actions" subject="guest"
           inheritable="true" negative="true"/>
          <permission action="/actions/read" subject="user"
           inheritable="false"/>

          <!-- Permission group example -->

          <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 classname="org.apache.slide.structure.LinkNode"
                uri="/users/groupA/root" linkedUri="/users/root" />
             <objectnode classname="org.apache.slide.structure.SubjectNode"
               uri="/users/groupA/singleGroupMember"  />
          </objectnode>

          <!-- /users/root represents the administrator -->

          <objectnode classname="slideroles.basic.RootRoleImpl"
           uri="/users/root">
            <revision>
              <property name="password">root</property>
            </revision>
          </objectnode>

          <!-- /users/john represents an authenticated user -->

          <objectnode classname="slideroles.basic.UserRoleImpl"
           uri="/users/john">
            <revision>
              <property name="password">john</property>
            </revision>
          </objectnode>

          <!-- /users/guest represents an authenticated or unauthenticated
               guest user -->

          <objectnode classname="slideroles.basic.GuestRoleImpl"
           uri="/users/guest">
            <revision>
              <property name="password"></property>
            </revision>
          </objectnode>

        </objectnode>

        <objectnode classname="org.apache.slide.structure.ActionNode"
         uri="/actions">

          <objectnode classname="org.apache.slide.structure.ActionNode"
           uri="/actions/read"/>

          <objectnode classname="org.apache.slide.structure.ActionNode"
           uri="/actions/write"/>

          <objectnode classname="org.apache.slide.structure.ActionNode"
           uri="/actions/manage"/>

        </objectnode>

        <objectnode classname="org.apache.slide.structure.SubjectNode"
         uri="/files">

          <permission action="/actions/manage" subject="/users/john"/>
          <permission action="/actions/write" subject="+/users/groupA"/>
          <permission action="/actions/read" subject="nobody"/>

        </objectnode>

      </objectnode>

    </data>

I am using a JDBCDescriptor store to store the data. I notice that when this
data gets loaded into the database
that the isversioned column value in the revisions table of the database is
populated with zeros which means that the particular object is not
revisioned.Is there any way i can change the Domain,xml file so that the
isversioned column value is   1 and not zero so that i can have versioning.
     thanks,
     rajkumar


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 4:08 AM
To: slide-user
Subject: Inheritance on properties


Hi,

Is there any possibility in slide to inheritance the property. In fact,
I have got a lots of files which they have the same properties, I am
thinking about inheritance of properties rather than saving all these
properties in the slide store which will be a mass of redundant data.

Indeed, is any possibility in slide to address a part of a file, like
what we have done with HTML files by addressing like file#part1.

Any help is appreciated,
Bita.


Reply via email to