You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/14 09:09:43 UTC

svn commit: r385752 - in /lenya/sandbox/doco: ./ .settings/ config/ config/ac/ config/ac/passwd/ config/ac/policies/ config/ac/policies/admin/ config/ac/policies/admin/users/ config/ac/policies/admin/users/alice.html/ config/ac/policies/admin/users/len...

Author: thorsten
Date: Tue Mar 14 00:09:38 2006
New Revision: 385752

URL: http://svn.apache.org/viewcvs?rev=385752&view=rev
Log:
Initial version of doco as lenya pub and forrest docu

Added:
    lenya/sandbox/doco/
    lenya/sandbox/doco/.project   (with props)
    lenya/sandbox/doco/.settings/
    lenya/sandbox/doco/.settings/org.eclipse.core.resources.prefs
    lenya/sandbox/doco/README.txt   (with props)
    lenya/sandbox/doco/config/
    lenya/sandbox/doco/config/ac/
    lenya/sandbox/doco/config/ac/ac.xconf   (with props)
    lenya/sandbox/doco/config/ac/passwd/
    lenya/sandbox/doco/config/ac/passwd/admin.gml
    lenya/sandbox/doco/config/ac/passwd/admin.rml
    lenya/sandbox/doco/config/ac/passwd/alice.iml
    lenya/sandbox/doco/config/ac/passwd/cifs.properties.sample
    lenya/sandbox/doco/config/ac/passwd/edit.rml
    lenya/sandbox/doco/config/ac/passwd/editor.gml
    lenya/sandbox/doco/config/ac/passwd/ldap.properties.sample
    lenya/sandbox/doco/config/ac/passwd/lenya.iml
    lenya/sandbox/doco/config/ac/passwd/localhost.ipml
    lenya/sandbox/doco/config/ac/passwd/review.rml
    lenya/sandbox/doco/config/ac/passwd/reviewer.gml
    lenya/sandbox/doco/config/ac/passwd/visit.rml
    lenya/sandbox/doco/config/ac/policies/
    lenya/sandbox/doco/config/ac/policies/admin/
    lenya/sandbox/doco/config/ac/policies/admin/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/admin/users/
    lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/
    lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/
    lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/archive/
    lenya/sandbox/doco/config/ac/policies/archive/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/authoring/
    lenya/sandbox/doco/config/ac/policies/authoring/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/index.html/
    lenya/sandbox/doco/config/ac/policies/index.html/url-policy.acml
    lenya/sandbox/doco/config/ac/policies/info/
    lenya/sandbox/doco/config/ac/policies/info/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/introduction.html/
    lenya/sandbox/doco/config/ac/policies/introduction.html/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/live/
    lenya/sandbox/doco/config/ac/policies/live/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/trash/
    lenya/sandbox/doco/config/ac/policies/trash/subtree-policy.acml
    lenya/sandbox/doco/config/ac/policies/url-policy.acml
    lenya/sandbox/doco/config/ac/usecase-policies.xml   (with props)
    lenya/sandbox/doco/config/publication.xconf   (with props)
    lenya/sandbox/doco/config/workflow/
    lenya/sandbox/doco/config/workflow/workflow.xml   (with props)
    lenya/sandbox/doco/content/
    lenya/sandbox/doco/content/rcbak/
    lenya/sandbox/doco/content/rcbak/content/
    lenya/sandbox/doco/content/rcbak/content/authoring/
    lenya/sandbox/doco/content/rcbak/content/authoring/index/
    lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.bak.1142078368240
    lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.meta.bak.1142078368161
    lenya/sandbox/doco/content/rcbak/content/authoring/sitetree.xml.bak.1142078368329
    lenya/sandbox/doco/content/rcml/
    lenya/sandbox/doco/content/rcml/content/
    lenya/sandbox/doco/content/rcml/content/authoring/
    lenya/sandbox/doco/content/rcml/content/authoring/index/
    lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.meta.rcml
    lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.rcml
    lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.meta.rcml
    lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.rcml
    lenya/sandbox/doco/java/
    lenya/sandbox/doco/java/src/
    lenya/sandbox/doco/modules/
    lenya/sandbox/doco/publication.xml   (with props)

Added: lenya/sandbox/doco/.project
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/.project?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/.project (added)
+++ lenya/sandbox/doco/.project Tue Mar 14 00:09:38 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>doco</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Propchange: lenya/sandbox/doco/.project
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/.settings/org.eclipse.core.resources.prefs
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/.settings/org.eclipse.core.resources.prefs?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/.settings/org.eclipse.core.resources.prefs (added)
+++ lenya/sandbox/doco/.settings/org.eclipse.core.resources.prefs Tue Mar 14 00:09:38 2006
@@ -0,0 +1,4 @@
+#Tue Mar 14 02:31:13 CET 2006
+eclipse.preferences.version=1
+encoding//config/ac/ac.xconf=UTF-8
+encoding//config/publication.xconf=UTF-8

Added: lenya/sandbox/doco/README.txt
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/README.txt?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/README.txt (added)
+++ lenya/sandbox/doco/README.txt Tue Mar 14 00:09:38 2006
@@ -0,0 +1,69 @@
+# What is the doco pub?
+This publication is created with the aim to be a generic documentation publication for Apache wide usage.
+
+The first projects to test it are the Apache Forrest and the Apache Lenya project.
+
+The idea is to manage the content via the Apache Lenya CMS and export it via Apache Forrest.
+
+# How to install?
+## Download
+You need to have the svn head of lenya and forrest:
+svn co https://svn.apache.org/repos/asf/lenya/trunk lenya-trunk
+svn co https://svn.apache.org/repos/asf/forrest/trunk forrest-trunk
+
+Further you need to download the doco pub:
+svn co https://svn.apache.org/repos/asf/lenya/sandbox/doco doco
+
+We will refer to the checkouts {lenya-trunk} for lenya and {forrest-trunk} for forrest
+and {doco} for the doco pub.
+
+## Install forrest/lenya
+Follow 
+http://forrest.apache.org/docs_0_80/build.html
+and
+http://lenya.apache.org/1_4/installation/source_version.html
+
+##Install lenya docu pub.
+Since we are using a specific pub we need to tell lenya about it. 
+In your {lenya-trunk}/local.build.properties 
+*** NOTE: 
+*** If you not yet have them do
+*** cp {lenya-trunk}/build.properties {lenya-trunk}/local.build.properties) 
+you need to 
+1) add the pub:
+pubs.root.dirs={doco}:{pubs.root.dirs.more.pubs}
+2) add the modules:
+modules.root.dirs={doco}/modules:{modules.root.dirs.more.modules}
+3) change the default port
+web.app.server.jetty.port=9999
+
+Since we are using an external content dir we will need to override the publication.xconf
+1) cp {doco}/config/publication.xconf {doco}/config/local.publication.xconf
+2) change <content-dir src="/home/thorsten/src/apache/forrest-trunk/whiteboard/doco"/> to
+<content-dir src="{forrest-trunk}/whiteboard/doco"/> for forrest (we will start with this)
+
+# Start
+## CMS mode
+For authoring start lenya with
+{lenya-trunk}/build.sh
+{lenya-trunk}/lenya.sh
+http://localhost:9999/doco/authoring/index.html
+## Render mode
+To render your lenya site with forrest 
+cd {doco}
+forrest run
+http://localhost:8888/index.html
+
+WARNING
+This is a prototype ONLY for now, do not use it in production!!!
+
+NOTE
+For now we are rendering the authoring area only and do not support
+the live are. This will change.
+
+TODO
+* lenya 
+- due to the exit usecases set in some of the usecases it throws an error 
+ -> remove all exit usecases in default conf or override it.
+* forrest
+- we need a xhtml to xdocs plugin
\ No newline at end of file

Propchange: lenya/sandbox/doco/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/config/ac/ac.xconf
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/ac.xconf?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/ac.xconf (added)
+++ lenya/sandbox/doco/config/ac/ac.xconf Tue Mar 14 00:09:38 2006
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+  
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: ac.xconf 372891 2006-01-27 16:08:47Z andreas $ -->
+
+<access-controller type="bypassable">
+  
+  <accreditable-manager type="file">
+    <parameter name="directory" value="context:///lenya/pubs/default/config/ac/passwd"/>
+    
+    <user-manager>
+      <user-type class="org.apache.lenya.ac.file.FileUser" create-use-case="userAddUser">Local User</user-type>
+      <!-- uncomment the following line if you want LDAP support -->
+      <!-- <user-type class="org.apache.lenya.ac.ldap.LDAPUser" create-use-case="userAddUserLdap">LDAP User</user-type> -->
+    </user-manager>
+  </accreditable-manager>
+  
+  <policy-manager type="document">
+    <policy-manager type="file">
+      <parameter name="directory" value="context:///lenya/pubs/default/config/ac/policies"/>
+    </policy-manager>
+  </policy-manager>
+  
+  <authorizer type="policy"/>
+  
+  <authorizer type="usecase">
+    <parameter name="configuration" value="context:///lenya/pubs/default/config/ac/usecase-policies.xml"/>
+  </authorizer>
+  
+</access-controller>

Propchange: lenya/sandbox/doco/config/ac/ac.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/config/ac/passwd/admin.gml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/admin.gml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/admin.gml (added)
+++ lenya/sandbox/doco/config/ac/passwd/admin.gml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: admin.gml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="admin"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/admin.rml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/admin.rml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/admin.rml (added)
+++ lenya/sandbox/doco/config/ac/passwd/admin.rml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: admin.rml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="admin"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/alice.iml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/alice.iml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/alice.iml (added)
+++ lenya/sandbox/doco/config/ac/passwd/alice.iml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: alice.iml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<identity id="alice" class="org.apache.lenya.ac.file.FileUser">
+  <name>Alice</name>
+  <description></description>
+  <email>alice@lenya.org</email>
+  <password type="md5">8e07dafd13495561db9063ebe4db4b27</password>
+  <groups>
+    <group>editor</group>
+    <group>reviewer</group>
+  </groups>
+</identity>

Added: lenya/sandbox/doco/config/ac/passwd/cifs.properties.sample
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/cifs.properties.sample?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/cifs.properties.sample (added)
+++ lenya/sandbox/doco/config/ac/passwd/cifs.properties.sample Tue Mar 14 00:09:38 2006
@@ -0,0 +1,5 @@
+# the name of the domain controller (or samba sever) to authenticate against
+domain-controller=my-domain-controller
+
+# domain/workgroup name to use
+domain=WORKGROUP
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/edit.rml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/edit.rml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/edit.rml (added)
+++ lenya/sandbox/doco/config/ac/passwd/edit.rml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="edit"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/editor.gml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/editor.gml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/editor.gml (added)
+++ lenya/sandbox/doco/config/ac/passwd/editor.gml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: editor.gml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="editor"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/ldap.properties.sample
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/ldap.properties.sample?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/ldap.properties.sample (added)
+++ lenya/sandbox/doco/config/ac/passwd/ldap.properties.sample Tue Mar 14 00:09:38 2006
@@ -0,0 +1,54 @@
+#############################################################################
+# File: ldap.properties.sample
+# $Id: ldap.properties.sample 124751 2005-01-10 02:25:42Z gregor $
+#############################################################################
+
+#############################################################################
+# General settings 
+#############################################################################
+provider-url=ldaps://ldap.example.com:636/dc=example,dc=com
+base-dn=dc=example,dc=com
+
+#############################################################################
+# User parameters for authentication:
+# usr-branch: 
+#      if users are to be taken from a specific branch, set this.
+#      If you set this to empty, users will be searched in the whole 
+#      subtree, i.e.:
+#         usr-branch=
+# usr-authentication:
+#      authentication method when the user authenticates
+# domain-name:
+#      AFAIK, this is only relevant for MS Active Directory
+#############################################################################
+#usr-branch=ou=People
+usr-branch=
+usr-attr=uid
+usr-name-attr=sn
+usr-authentication=simple
+domain-name=
+
+############################################################################
+# Security settings
+# -----------------
+# security-authentication:
+#       you can set this to none if there is no manager authentication, i.e.:
+#         security-authentication=none
+# mgr-dn and mgr-pw:
+#       Manager/user which is allowed to retrieve a list of "all" users
+#       (fullname) from LDAP server. Leave it empty for anonymous bindings.
+# key-store:
+#       - If you do not use ssl, you can comment out this property.
+#       - keystore is taken relatively to the publication config/ac/passwd
+#       directory. You should put the Directory-Server certificate in this 
+#       file, if using ssl. 
+#       The keystore file can be generated as follows:
+#          keytool -import -keystore .keystore -file <ca_cert_file> 
+#                    -alias <yourdomain.com>
+#       
+############################################################################
+security-authentication=simple
+mgr-dn=
+mgr-pw=
+key-store=.keystore
+security-protocol=ssl

Added: lenya/sandbox/doco/config/ac/passwd/lenya.iml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/lenya.iml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/lenya.iml (added)
+++ lenya/sandbox/doco/config/ac/passwd/lenya.iml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: lenya.iml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<identity id="lenya" class="org.apache.lenya.ac.file.FileUser">
+  <name>Levi Vanya</name>
+  <description></description>
+  <email>levi.vanya@wyona.org</email>
+  <password type="md5">8e07dafd13495561db9063ebe4db4b27</password>
+  <groups>
+    <group>editor</group>
+    <group>admin</group>
+  </groups>
+</identity>

Added: lenya/sandbox/doco/config/ac/passwd/localhost.ipml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/localhost.ipml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/localhost.ipml (added)
+++ lenya/sandbox/doco/config/ac/passwd/localhost.ipml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: localhost.ipml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<ip-range class="org.apache.lenya.ac.file.FileIPRange" id="localhost">
+  <name>Localhost</name>
+  <network-address>127.0.0.1</network-address>
+  <subnet-mask>255.255.255.0</subnet-mask>
+</ip-range>

Added: lenya/sandbox/doco/config/ac/passwd/review.rml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/review.rml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/review.rml (added)
+++ lenya/sandbox/doco/config/ac/passwd/review.rml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="review"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/reviewer.gml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/reviewer.gml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/reviewer.gml (added)
+++ lenya/sandbox/doco/config/ac/passwd/reviewer.gml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: reviewer.gml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="reviewer"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/passwd/visit.rml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/passwd/visit.rml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/passwd/visit.rml (added)
+++ lenya/sandbox/doco/config/ac/passwd/visit.rml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="visit"/>
\ No newline at end of file

Added: lenya/sandbox/doco/config/ac/policies/admin/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/admin/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/admin/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/admin/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="admin">
+    <role id="admin"/>
+  </group>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/admin/users/alice.html/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false">
+  <ac:user id="alice">
+    <ac:role id="edit"/>
+  </ac:user>
+</ac:policy>

Added: lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/admin/users/lenya.html/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <user id="lenya">
+    <role id="edit"/>
+  </user>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/archive/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/archive/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/archive/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/archive/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"/>
+  </group>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/authoring/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/authoring/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/authoring/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/authoring/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"/>
+  </group>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/index.html/url-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/index.html/url-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/index.html/url-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/index.html/url-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: url-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit"/>
+  </world>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/info/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/info/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/info/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/info/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"/>
+  </group>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/introduction.html/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/introduction.html/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/introduction.html/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/introduction.html/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit"/>
+  </world>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/live/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/live/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/live/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/live/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit"/>
+  </world>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/trash/subtree-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/trash/subtree-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/trash/subtree-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/trash/subtree-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: subtree-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <group id="editor">
+    <role id="edit"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review"/>
+  </group>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/policies/url-policy.acml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/policies/url-policy.acml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/policies/url-policy.acml (added)
+++ lenya/sandbox/doco/config/ac/policies/url-policy.acml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: url-policy.acml 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+  <world>
+    <role id="visit"/>
+  </world>
+
+</policy> 

Added: lenya/sandbox/doco/config/ac/usecase-policies.xml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/ac/usecase-policies.xml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/ac/usecase-policies.xml (added)
+++ lenya/sandbox/doco/config/ac/usecase-policies.xml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: usecase-policies.xml 320970 2005-10-14 01:57:28Z chestnut $ -->
+    
+<usecases xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+	<usecase id="create">
+		<role id="edit"/>
+	</usecase>
+    <usecase id="archive">
+        <role id="edit"/>
+    </usecase>
+    <usecase id="delete">
+        <role id="edit"/>
+    </usecase>
+    <usecase id="restore">
+        <role id="edit"/>
+    </usecase>
+    <usecase id="submit">
+        <role id="edit"/>
+    </usecase>
+    <usecase id="publish">
+        <role id="review"/>
+    </usecase>
+    <usecase id="reject">
+        <role id="review"/>
+    </usecase>
+    <usecase id="deactivate">
+        <role id="review"/>
+    </usecase>
+
+	<usecase id="userChangeProfile"><role id="edit"/><role id="admin"/></usecase>
+	<usecase id="userChangePasswordUser"><role id="edit"/></usecase>
+	<usecase id="userChangePasswordAdmin"><role id="admin"/></usecase>
+	<usecase id="userChangeGroups"><role id="admin"/></usecase>
+	
+	<usecase id="filePropfind"><role id="visit"/></usecase>
+	<usecase id="propfind"><role id="visit"/></usecase>
+	<usecase id="put"><role id="edit"/></usecase>
+	
+
+</usecases>
\ No newline at end of file

Propchange: lenya/sandbox/doco/config/ac/usecase-policies.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/config/publication.xconf
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/publication.xconf?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/publication.xconf (added)
+++ lenya/sandbox/doco/config/publication.xconf Tue Mar 14 00:09:38 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<publication>
+  <languages>
+    <language default="true">en</language>
+    <language>de</language>
+  </languages>
+  <template-instantiator name="default"/>
+  <path-mapper>
+    org.apache.lenya.cms.publication.DefaultDocumentIdToPathMapper</path-mapper>
+  <document-builder name="default"/>
+  <breadcrumb-prefix/>
+  <site-manager name="tree"/>
+  <resource-type workflow="fallback://config/workflow/workflow.xml" 
+    name="xhtml"/>
+  <resource-type workflow="fallback://config/workflow/workflow.xml" 
+    name="homepage"/>
+  <resource-type workflow="fallback://config/workflow/workflow.xml" 
+    name="links"/>
+  <resource-type workflow="fallback://config/workflow/workflow.xml" 
+    name="cforms"/>
+  <module name="xhtml"/>
+  <module name="links"/>
+  <module name="opendocument"/>
+  <module name="cforms"/>
+  <module name="homepage"/>
+  <link-attribute 
+    xpath="//*[namespace-uri() = 'http://www.w3.org/1999/xhtml']/@href"/>
+  <templates>
+    <template id="default"/>
+  </templates>
+  <content-dir src="/home/thorsten/src/apache/forrest-trunk/whiteboard/doco"/>
+</publication>
\ No newline at end of file

Propchange: lenya/sandbox/doco/config/publication.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/config/workflow/workflow.xml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/config/workflow/workflow.xml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/config/workflow/workflow.xml (added)
+++ lenya/sandbox/doco/config/workflow/workflow.xml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: workflow.xml 153818 2005-02-14 18:07:10Z gregor $ -->
+
+<workflow xmlns="http://apache.org/cocoon/lenya/workflow/1.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://apache.org/cocoon/lenya/workflow/1.0 ../../../../resources/entities/workflow.xsd">
+
+  <state id="authoring" initial="true"/>
+  <state id="review"/>
+  <state id="live"/>
+  <state id="trash"/>
+  <state id="archive"/>
+  
+  <variable name="is_live" value="false"/>
+  
+  <transition source="authoring" destination="review">
+    <event id="submit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="review" destination="live">
+    <event id="publish"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="true"/>
+  </transition>
+        
+  <transition source="review" destination="authoring">
+    <event id="reject"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+  </transition>
+        
+  <transition source="live" destination="authoring">
+    <event id="edit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="authoring" destination="authoring">
+    <event id="edit"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+        
+  <transition source="live" destination="authoring">
+    <event id="deactivate"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+
+  <transition source="authoring" destination="trash">
+    <event id="delete"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+
+  <transition source="authoring" destination="archive">
+    <event id="archive"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+    <assign variable="is_live" value="false"/>
+  </transition>
+  
+  <transition source="archive" destination="authoring">
+    <event id="restore"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>
+  
+  <transition source="trash" destination="authoring">
+    <event id="restore"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+  </transition>  
+</workflow>

Propchange: lenya/sandbox/doco/config/workflow/workflow.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.bak.1142078368240
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.bak.1142078368240?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.bak.1142078368240 (added)
+++ lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.bak.1142078368240 Tue Mar 14 00:09:38 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Default Publication</title>
+  </head>
+  <body>
+    <h1>Default Publication</h1>
+    <p>Welcome to the default Lenya publication!</p>
+    <p>The purpose of this publication is</p>
+    <ul>
+      <li>to show beginners the basic functionality of the Lenya CMS,</li>
+      <li>to provide an "out of the box" publication that can be easily adapted and used, and</li>
+      <li>to provide a basis for reference implementations of new concepts and best practices.</li>
+    </ul>
+    <p>
+    You won't find any fancy and confusing bells and whistles here, but the
+    publication contains everything you need to get started.
+    </p>
+  </body>
+</html>

Added: lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.meta.bak.1142078368161
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.meta.bak.1142078368161?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.meta.bak.1142078368161 (added)
+++ lenya/sandbox/doco/content/rcbak/content/authoring/index/index_en.xml.meta.bak.1142078368161 Tue Mar 14 00:09:38 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lenya:document xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">
+<lenya:meta>
+<lenya:custom>
+<lenya:myMeta/>
+</lenya:custom>
+<lenya:dc>
+<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">test</dc:title>
+<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lenya</dc:creator>
+<dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+<dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+<dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2006-03-11 12:59:21</dc:date>
+<dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">en</dc:language>
+<dc:rights xmlns:dc="http://purl.org/dc/elements/1.1/"/>
+</lenya:dc>
+<lenya:internal>
+<lenya:resourceType>xhtml</lenya:resourceType>
+<lenya:contentType>xml</lenya:contentType>
+<lenya:extension>xml</lenya:extension>
+</lenya:internal>
+</lenya:meta>
+</lenya:document>

Added: lenya/sandbox/doco/content/rcbak/content/authoring/sitetree.xml.bak.1142078368329
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcbak/content/authoring/sitetree.xml.bak.1142078368329?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcbak/content/authoring/sitetree.xml.bak.1142078368329 (added)
+++ lenya/sandbox/doco/content/rcbak/content/authoring/sitetree.xml.bak.1142078368329 Tue Mar 14 00:09:38 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site xmlns="http://apache.org/cocoon/lenya/sitetree/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://apache.org/cocoon/lenya/sitetree/1.0  ../../../../resources/entities/sitetree.xsd">
+<node id="index" visibleinnav="true">
+<label xml:lang="en">test</label>
+</node>
+</site>

Added: lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.meta.rcml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.meta.rcml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.meta.rcml (added)
+++ lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.meta.rcml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XPSRevisionControl xmlns="">
+<CheckIn>
+<Identity>lenya</Identity>
+<Time>1142078368161</Time>
+<Version>2</Version>
+<Backup/>
+</CheckIn>
+<CheckOut>
+<Identity>lenya</Identity>
+<Time>1142078367920</Time>
+</CheckOut>
+<CheckIn>
+<Identity>System</Identity>
+<Time>0</Time>
+<Version>1</Version>
+</CheckIn>
+</XPSRevisionControl>

Added: lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.rcml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.rcml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.rcml (added)
+++ lenya/sandbox/doco/content/rcml/content/authoring/index/index_en.xml.rcml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XPSRevisionControl xmlns="">
+<CheckIn>
+<Identity>lenya</Identity>
+<Time>1142078368240</Time>
+<Version>2</Version>
+<Backup/>
+</CheckIn>
+<CheckOut>
+<Identity>lenya</Identity>
+<Time>1142078367981</Time>
+</CheckOut>
+<CheckIn>
+<Identity>System</Identity>
+<Time>0</Time>
+<Version>1</Version>
+</CheckIn>
+</XPSRevisionControl>

Added: lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.meta.rcml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.meta.rcml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.meta.rcml (added)
+++ lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.meta.rcml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XPSRevisionControl xmlns="">
+<CheckIn>
+<Identity>System</Identity>
+<Time>0</Time>
+<Version>1</Version>
+</CheckIn>
+</XPSRevisionControl>

Added: lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.rcml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.rcml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.rcml (added)
+++ lenya/sandbox/doco/content/rcml/content/authoring/sitetree.xml.rcml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XPSRevisionControl xmlns="">
+<CheckIn>
+<Identity>lenya</Identity>
+<Time>1142078368329</Time>
+<Version>2</Version>
+<Backup/>
+</CheckIn>
+<CheckOut>
+<Identity>lenya</Identity>
+<Time>1142078368055</Time>
+</CheckOut>
+<CheckIn>
+<Identity>System</Identity>
+<Time>0</Time>
+<Version>1</Version>
+</CheckIn>
+</XPSRevisionControl>

Added: lenya/sandbox/doco/publication.xml
URL: http://svn.apache.org/viewcvs/lenya/sandbox/doco/publication.xml?rev=385752&view=auto
==============================================================================
--- lenya/sandbox/doco/publication.xml (added)
+++ lenya/sandbox/doco/publication.xml Tue Mar 14 00:09:38 2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- $Id: publication.xml 374687 2006-02-03 15:24:55Z michi $ -->
+<lenya:publication xmlns:lenya="http://apache.org/cocoon/lenya/publication/1.0">
+  <lenya:name>doco</lenya:name>
+  <lenya:pub-version>1.4-dev</lenya:pub-version>
+  <lenya:lenya-version>1.4-dev</lenya:lenya-version>
+  <lenya:cocoon-version>2.1.8 or 2.1.9-dev</lenya:cocoon-version>
+  <lenya:description>This publication is a best practice, getting started publication.</lenya:description>
+  <lenya:credits>Special thanks to </lenya:credits>
+  <lenya:help/>
+  <lenya:changelog>changes.xml</lenya:changelog>
+  <lenya:license/>
+  <lenya:readme>
+    <ol>
+      <li>
+<a href="live/index.html">Reader`s View</a> (Live)</li>
+      <li>
+<a href="authoring/index.html">Editor`s View</a> (Authoring)</li>
+    </ol>
+
+    <h4>Enable JCR</h4>
+    <ul>
+      <li>Build Lenya and start it</li>
+      <li>Import content from filesystem into JCR Repository by executing: <a href="../index.html?lenya.usecase=jcr.import">../index.html?lenya.usecase=jcr.import</a>
+      </li>
+      <li>Stop Lenya</li>
+      <li>Switch the NodeFactory within <i>build/lenya/webapp/WEB-INF/classes/org/apache/lenya/lenya.roles</i> to <i>org.apache.lenya.cms.jcr.JCRNodeFactory</i>
+      </li>
+      <li>Optional: The JCR implementation can be configured within local.build.properties resp. build.properties</li>
+      <li>Start Lenya</li>
+    </ul>
+
+    <h4>JCR Tests and content migration</h4>
+    <ul>
+      <li>./build.sh modules.test</li>
+      <li>./build.sh migrate-14</li>
+    </ul>
+  </lenya:readme>
+</lenya:publication>

Propchange: lenya/sandbox/doco/publication.xml
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org