Date: 2004-11-04T17:26:39
   Editor: BrianLee <[EMAIL PROTECTED]>
   Wiki: Jakarta-Slide Wiki
   Page: DataNode
   URL: http://wiki.apache.org/jakarta-slide/DataNode

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,11 +1,8 @@
 === Domain.xml Data Node ===
 
-In Slide an 
[http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/structure/ObjectNode.html
 ObjectNode] exists for each User, Role, Action. These ObjectNodes are part of the 
Namespace. 
-The entries below configure ObjectNodes according to paths (uri) and what class 
implementation to utilize.
+In Slide an 
[http://jakarta.apache.org/slide/javadoc-2.1/javadoc/org/apache/slide/structure/ObjectNode.html
 ObjectNode] exists for each User, Role, Action. These ObjectNodes are part of the 
Namespace.  The entries below configure ObjectNodes according to paths (uri) and what 
class implementation to utilize.
 
-This <data> section is loaded when Slide first starts and provides a way to 
initialize Stores. After Slide
-has started all sections of the repository can be manipulated through WebDAV or 
directly through the server
-API.
+This <data> section is loaded when Slide first starts and provides a way to 
initialize Stores. After Slide has started all sections of the repository can be 
manipulated through WebDAV or directly through the server API.
 
 {{{
 <data>
@@ -30,11 +27,15 @@
         </objectnode>
         <!-- /roles -->
         <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles">
-            ...
+           ...
         </objectnode>
         <!-- action -->
         <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
-            ...
+           ...
+        </objectnode>
+        <!-- collections -->
+        <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
+           ...
         </objectnode>
     </objectnode>
 </data>
@@ -145,7 +146,8 @@
         <revision>
             <property name="privilege-member-set">
                 <![CDATA[<D:href xmlns:D='DAV:'>/actions/read-acl</D:href> 
-                <D:href 
xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]></property>
+                <D:href 
xmlns:D='DAV:'>/actions/read-current-user-privilege-set</D:href>]]>
+            </property>
         </revision>
     </objectnode>
     <objectnode classname="org.apache.slide.structure.ActionNode" 
uri="/actions/read-acl">
@@ -161,7 +163,9 @@
     <objectnode classname="org.apache.slide.structure.ActionNode" 
uri="/actions/write">
         <revision>
             <property name="privilege-member-set">
-                <![CDATA[<D:href xmlns:D='DAV:'>/actions/write-acl</D:href><D:href 
xmlns:D='DAV:'>/actions/write-properties</D:href><D:href 
xmlns:D='DAV:'>/actions/write-content</D:href>]]>
+                <![CDATA[<D:href xmlns:D='DAV:'>/actions/write-acl</D:href>
+                <D:href xmlns:D='DAV:'>/actions/write-properties</D:href>
+                <D:href xmlns:D='DAV:'>/actions/write-content</D:href>]]>
             </property>
         </revision>
     </objectnode>
@@ -203,6 +207,8 @@
 
 ==== Collections? ====
 
+This section defines resource collections (aka directories)
+
 {{{
 <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
     <permission action="all" subject="unauthenticated" inheritable="true"/>
@@ -233,3 +239,17 @@
     <permission action="/actions/read-acl" subject="owner" inheritable="true"/>
 </objectnode>
 }}}
+
+===== Collection Details =====
+
+{{{
+<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/files">
+    <permission action="all" subject="unauthenticated" inheritable="true"/>
+    <permission action="/actions/write" subject="/roles/user" inheritable="true"/>
+    <permission action="/actions/read-acl" subject="owner" inheritable="true"/>
+</objectnode>
+}}}
+
+Just like other objectnodes, each resource collection is associated to a class and 
uri.
+Within each one, a set of permissions are defined which sets both access and 
permissable 
+actions which were defined earlier in this file (see above).

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

Reply via email to