Date: 2004-11-03T15:58:15
Editor: BrianLee <[EMAIL PROTECTED]>
Wiki: Jakarta-Slide Wiki
Page: DataNode
URL: http://wiki.apache.org/jakarta-slide/DataNode
no comment
Change Log:
------------------------------------------------------------------------------
@@ -4,7 +4,7 @@
{{{
<data>
- <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
<!-- Subject can be:
any user "all"
authenticated user "authenticated"
@@ -14,94 +14,119 @@
a user "/users/john"
a role "/roles/admin"
-->
- <permission action="all" subject="/roles/root" inheritable="true"/>
- <permission action="/actions/read-acl" subject="all"
inheritable="true" negative="true"/>
- <permission action="/actions/write-acl" subject="all"
inheritable="true" negative="true"/>
- <permission action="/actions/unlock" subject="all" inheritable="true"
negative="true"/>
- <permission action="/actions/read" subject="all" inheritable="true"/>
- <!-- /users -->
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users">
- <permission action="all" subject="self" inheritable="true"/>
- <permission action="all" subject="/roles/projector"
inheritable="true"/>
- <permission action="all" subject="unauthenticated"
inheritable="true" negative="true"/>
- <!-- /users/root represents the administrator -->
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/root">
- <revision>
- <property namespace="http://jakarta.apache.org/slide/"
name="password">root</property>
- </revision>
- </objectnode>
- <!-- /users/john and /users/john2 represent authenticated users
-->
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/john">
- <revision>
- <property namespace="http://jakarta.apache.org/slide/"
name="password">john</property>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/john2">
- <revision>
- <property namespace="http://jakarta.apache.org/slide/"
name="password">john2</property>
- </revision>
- </objectnode>
- <!-- /users/guest represents an authenticated or unauthenticated
guest user -->
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/guest">
- <revision>
- <property namespace="http://jakarta.apache.org/slide/"
name="password">guest</property>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/projector">
- <revision>
- <property namespace="http://jakarta.apache.org/slide/"
name="password">projector</property>
- </revision>
- </objectnode>
- </objectnode>
- <!-- /roles -->
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles">
- <permission action="all" subject="self" inheritable="true"/>
- <permission action="all" subject="/roles/projector"
inheritable="true"/>
- <permission action="all" subject="unauthenticated"
inheritable="true" negative="true"/>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/root">
- <revision>
- <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/root</D:href>]]></property>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/user">
- <revision>
- <property name="group-member-set">
-<![CDATA[<D:href xmlns:D='DAV:'>/users/john</D:href>
-<D:href xmlns:D='DAV:'>/users/john2</D:href>
-<D:href xmlns:D='DAV:'>/users/root</D:href>
-<D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
-</property>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/guest">
- <revision>
- <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/guest</D:href>]]></property>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/projector">
- <revision>
- <property name="group-member-set">
-<![CDATA[<D:href xmlns:D='DAV:'>/users/root</D:href>
-<D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
-</property>
- </revision>
- </objectnode>
- </objectnode>
- <!-- action -->
- <objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions">
- <objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read">
- <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>
- </revision>
- </objectnode>
- <objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read-acl">
- <revision>
- <property name="privilege-member-set"/>
- </revision>
- </objectnode>
+ <permission action="all" subject="/roles/root" inheritable="true"/>
+ <permission action="/actions/read-acl" subject="all" inheritable="true"
negative="true"/>
+ <permission action="/actions/write-acl" subject="all" inheritable="true"
negative="true"/>
+ <permission action="/actions/unlock" subject="all" inheritable="true"
negative="true"/>
+ <permission action="/actions/read" subject="all" inheritable="true"/>
+ <!-- /users -->
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users">
+ ...
+ </objectnode>
+ <!-- /roles -->
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles">
+ ...
+ </objectnode>
+ <!-- action -->
+ <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
+ ...
+ </objectnode>
+</data>
+}}}
+
+==== Users ====
+
+{{{
+<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users">
+ <permission action="all" subject="self" inheritable="true"/>
+ <permission action="all" subject="/roles/projector" inheritable="true"/>
+ <permission action="all" subject="unauthenticated" inheritable="true"
negative="true"/>
+ <!-- /users/root represents the administrator -->
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/root">
+ <revision>
+ <property namespace="http://jakarta.apache.org/slide/"
name="password">root</property>
+ </revision>
+ </objectnode>
+ <!-- /users/john and /users/john2 represent authenticated users -->
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/john">
+ <revision>
+ <property namespace="http://jakarta.apache.org/slide/"
name="password">john</property>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/john2">
+ <revision>
+ <property namespace="http://jakarta.apache.org/slide/"
name="password">john2</property>
+ </revision>
+ </objectnode>
+ <!-- /users/guest represents an authenticated or unauthenticated guest user -->
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/users/guest">
+ <revision>
+ <property namespace="http://jakarta.apache.org/slide/"
name="password">guest</property>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/projector">
+ <revision>
+ <property namespace="http://jakarta.apache.org/slide/"
name="password">projector</property>
+ </revision>
+ </objectnode>
+</objectnode>
+}}}
+
+==== Roles ====
+
+{{{
+<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles">
+ <permission action="all" subject="self" inheritable="true"/>
+ <permission action="all" subject="/roles/projector" inheritable="true"/>
+ <permission action="all" subject="unauthenticated" inheritable="true"
negative="true"/>
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/root">
+ <revision>
+ <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/root</D:href>]]></property>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/user">
+ <revision>
+ <property name="group-member-set">
+ <![CDATA[<D:href xmlns:D='DAV:'>/users/john</D:href>
+ <D:href xmlns:D='DAV:'>/users/john2</D:href>
+ <D:href xmlns:D='DAV:'>/users/root</D:href>
+ <D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
+ </property>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.SubjectNode" uri="/roles/guest">
+ <revision>
+ <property name="group-member-set"><![CDATA[<D:href
xmlns:D='DAV:'>/users/guest</D:href>]]></property>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/roles/projector">
+ <revision>
+ <property name="group-member-set">
+ <![CDATA[<D:href xmlns:D='DAV:'>/users/root</D:href>
+ <D:href xmlns:D='DAV:'>/users/projector</D:href>]]>
+ </property>
+ </revision>
+ </objectnode>
+</objectnode>
+}}}
+
+==== Action ====
+
+{{{
+<objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions">
+ <objectnode classname="org.apache.slide.structure.ActionNode" uri="/actions/read">
+ <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>
+ </revision>
+ </objectnode>
+ <objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read-acl">
+ <revision>
+ <property name="privilege-member-set"/>
+ </revision>
+ </objectnode>
<objectnode classname="org.apache.slide.structure.ActionNode"
uri="/actions/read-current-user-privilege-set">
<revision>
<property name="privilege-member-set"/>
@@ -178,6 +203,5 @@
<permission action="/actions/write" subject="/roles/user"
inheritable="true"/>
<permission action="/actions/read-acl" subject="owner"
inheritable="true"/>
</objectnode>
- </objectnode>
- </data>
+</objectnode>
}}}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]