You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/10/30 21:52:55 UTC
svn commit: r590450 - in /lenya/sandbox/pubs: ./ docu/ docu/config/
docu/config/access-control/ docu/config/access-control/policies/
docu/config/access-control/policies/admin/
docu/config/access-control/policies/admin/users/
docu/config/access-control/...
Author: andreas
Date: Tue Oct 30 13:52:44 2007
New Revision: 590450
URL: http://svn.apache.org/viewvc?rev=590450&view=rev
Log:
Adding pubs directory to sandbox
Added:
lenya/sandbox/pubs/
lenya/sandbox/pubs/docu/
lenya/sandbox/pubs/docu/config/
lenya/sandbox/pubs/docu/config/access-control/
lenya/sandbox/pubs/docu/config/access-control/access-control.xml
lenya/sandbox/pubs/docu/config/access-control/policies/
lenya/sandbox/pubs/docu/config/access-control/policies/admin/
lenya/sandbox/pubs/docu/config/access-control/policies/admin/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/
lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/
lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/
lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/archive/
lenya/sandbox/pubs/docu/config/access-control/policies/archive/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/url-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/
lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/index.html/
lenya/sandbox/pubs/docu/config/access-control/policies/index.html/url-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/
lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/live/
lenya/sandbox/pubs/docu/config/access-control/policies/live/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/modules/
lenya/sandbox/pubs/docu/config/access-control/policies/modules/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/trash/
lenya/sandbox/pubs/docu/config/access-control/policies/trash/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/url-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/webdav/
lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/
lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/url-policy.acml
lenya/sandbox/pubs/docu/config/access-control/policies/webdav/subtree-policy.acml
lenya/sandbox/pubs/docu/config/access-control/usecase-policies.xml
lenya/sandbox/pubs/docu/config/publication.xml
lenya/sandbox/pubs/docu/config/search/
lenya/sandbox/pubs/docu/config/search/lucene_index.xml
lenya/sandbox/pubs/docu/config/workflow/
lenya/sandbox/pubs/docu/config/workflow/workflow.xml
lenya/sandbox/pubs/docu/lenya/
lenya/sandbox/pubs/docu/lenya/modules/
lenya/sandbox/pubs/docu/lenya/modules/sitetree/
lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/
lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/
lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/menu.xsl
lenya/sandbox/pubs/docu/work/
lenya/sandbox/pubs/docu/work/lucene/
lenya/sandbox/pubs/docu/work/lucene/index/
lenya/sandbox/pubs/docu/work/lucene/index/archive/
lenya/sandbox/pubs/docu/work/lucene/index/archive/index/
lenya/sandbox/pubs/docu/work/lucene/index/archive/index/segments (with props)
lenya/sandbox/pubs/docu/work/lucene/index/authoring/
lenya/sandbox/pubs/docu/work/lucene/index/authoring/index/
lenya/sandbox/pubs/docu/work/lucene/index/authoring/index/segments (with props)
lenya/sandbox/pubs/docu/work/lucene/index/live/
lenya/sandbox/pubs/docu/work/lucene/index/live/index/
lenya/sandbox/pubs/docu/work/lucene/index/live/index/segments (with props)
lenya/sandbox/pubs/docu/work/lucene/index/trash/
lenya/sandbox/pubs/docu/work/lucene/index/trash/index/
lenya/sandbox/pubs/docu/work/lucene/index/trash/index/segments (with props)
Added: lenya/sandbox/pubs/docu/config/access-control/access-control.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/access-control.xml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/access-control.xml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/access-control.xml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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: access-control.xml 564543 2007-08-10 10:53:48Z andreas $ -->
+
+<access-controller type="bypassable">
+
+ <accreditable-manager type="file">
+ <parameter name="directory" value="context:///lenya/pubs/default/config/access-control/passwd"/>
+
+ <user-manager>
+ <user-type class="org.apache.lenya.ac.file.FileUser" create-use-case="admin.addUser">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="admin.addUser">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/access-control/policies"/>
+ </policy-manager>
+ </policy-manager>
+
+ <authorizer type="usecase">
+ <parameter name="configuration" value="aggregate-fallback://config/access-control/usecase-policies.xml"/>
+ </authorizer>
+
+</access-controller>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/admin/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/admin/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/admin/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/admin/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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:group id="admin">
+<ac:role id="admin" method="grant"/>
+</ac:group>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/alice.html/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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" method="grant"/>
+</ac:user>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/admin/users/lenya.html/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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="lenya">
+<ac:role id="edit" method="grant"/>
+</ac:user>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/archive/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/archive/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/archive/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/archive/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false">
+<ac:group id="editor">
+<ac:role id="edit" method="grant"/>
+</ac:group>
+<ac:group id="reviewer">
+<ac:role id="review" method="grant"/>
+</ac:group>
+<ac:group id="admin">
+<ac:role id="admin" method="grant"/>
+</ac:group>
+<ac:world>
+<ac:role id="session" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/url-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/url-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/authoring/index/url-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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,v 1.3 2004/03/13 12:34:15 gregor Exp $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+ <group id="editor">
+ <role id="edit" method="grant"/>
+ </group>
+
+ <world>
+ <!-- If no @method is set, we assume method="deny" -->
+ <role id="visit"/>
+ </world>
+
+</policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/authoring/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/authoring/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/authoring/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/authoring/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false">
+<ac:group id="editor">
+<ac:role id="edit" method="grant"/>
+</ac:group>
+<ac:group id="reviewer">
+<ac:role id="review" method="grant"/>
+</ac:group>
+<ac:group id="admin">
+<ac:role id="admin" method="grant"/>
+</ac:group>
+<ac:world>
+<ac:role id="session" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/authoring/tutorial/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false"/>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/index.html/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/index.html/url-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/index.html/url-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/index.html/url-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 562973 2007-08-05 21:44:42Z nettings $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+ <world>
+ <role id="visit" method="grant"/>
+ </world>
+
+</policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/introduction.html/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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:world>
+<ac:role id="visit" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/live/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/live/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/live/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/live/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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:world>
+<ac:role id="visit" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/modules/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/modules/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/modules/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/modules/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -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:world>
+<ac:role id="visit" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/trash/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/trash/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/trash/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/trash/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false">
+<ac:group id="editor">
+<ac:role id="edit" method="grant"/>
+</ac:group>
+<ac:group id="reviewer">
+<ac:role id="review" method="grant"/>
+</ac:group>
+<ac:group id="admin">
+<ac:role id="admin" method="grant"/>
+</ac:group>
+<ac:world>
+<ac:role id="session" method="grant"/>
+</ac:world>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/url-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/url-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/url-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+ <world>
+ <role id="visit" method="deny"/>
+ </world>
+
+</policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/url-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/url-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/url-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/webdav/index/url-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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,v 1.3 2004/03/13 12:34:15 gregor Exp $ -->
+
+<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+ <group id="editor">
+ <role id="edit" method="grant"/>
+ </group>
+
+ <world>
+ <!-- If no @method is set, we assume method="deny" -->
+ <role id="visit"/>
+ </world>
+
+</policy>
Added: lenya/sandbox/pubs/docu/config/access-control/policies/webdav/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/policies/webdav/subtree-policy.acml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/policies/webdav/subtree-policy.acml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/policies/webdav/subtree-policy.acml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ac:policy xmlns:ac="http://apache.org/cocoon/lenya/ac/1.0" ssl="false">
+<ac:group id="editor">
+<ac:role id="edit" method="grant"/>
+</ac:group>
+<ac:group id="reviewer">
+<ac:role id="review" method="grant"/>
+</ac:group>
+<ac:group id="admin">
+<ac:role id="admin" method="grant"/>
+</ac:group>
+</ac:policy>
Added: lenya/sandbox/pubs/docu/config/access-control/usecase-policies.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/usecase-policies.xml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/usecase-policies.xml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/usecase-policies.xml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,404 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 565524 2007-08-13 21:08:54Z rfrovarp $ -->
+
+<!--+++NOTE+++ The usecase list was initialized using modules/usecase-impl/xslt/initUsecasePolicies.xsl.-->
+<usecases xmlns="http://apache.org/cocoon/lenya/ac/1.0">
+
+ <usecase id="ac.visit">
+ <role id="visit" method="grant"/>
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="ac.logout">
+ <role id="session" method="grant"/>
+ </usecase>
+ <usecase id="ac.login">
+ <role id="session" method="grant"/>
+ </usecase>
+ <usecase id="admin.aboutLenya">
+ <role id="session" method="grant"/>
+ </usecase>
+
+ <usecase id="bxe.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="bxe.close">
+ <role id="admin"/>
+ <role id="edit"/>
+ </usecase>
+ <usecase id="cforms.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="fckeditor.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="linkcheck.getLinks">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="lucene.externalOpensearch">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="lucene.index">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="lucene.opensearch">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="lucene.search">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="visit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.archive">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.changeLabel">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.changeNodeID">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.changeVisibility">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.copy">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.create">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.createLanguage">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.cut">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.delete">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.deleteLanguage">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.paste">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.restore">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.rollback">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitemanagement.forceCheckIn">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.acArchive">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.acAuthoring">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="tab.acLive">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="tab.acTrash">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="tab.assets">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.meta">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.overview">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ <role id="visit" method="grant"/>
+ </usecase>
+ <usecase id="tab.revisions">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.scheduler">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tab.workflow">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="opendocument.create">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="opendocument.upload">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="sitetree.nudge">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="contactForm.sendMessage">
+ <role id="visit" method="grant"/>
+ </usecase>
+ <usecase id="usecasedocument.create">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="webdav.delete">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="webdav.filePropfind">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="webdav.mkcol">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="webdav.propfind">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="webdav.put">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="admin.usecases">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.addGroup">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.addIPRange">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.addUser">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.changePassword">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ <role id="visit" method="grant"/>
+ </usecase>
+ <usecase id="admin.changePasswordAdmin">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.deleteGroup">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.deleteIPRange">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.deleteUser">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.emptyTrash">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.group">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.groupMembers">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.groupProfile">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.groups">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.ipRangeGroups">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.ipRangeProfile">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.ipRange">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.ipRanges">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.serverStatus">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.sessions">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.siteOverview">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.user">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.userGroups">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.userProfile">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="admin.users">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="editors.forms">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.oneform">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.publicationEdit">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="templating.createPublicationFromTemplate">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="workflow.delete">
+ <role id="admin" method="grant"/>
+ </usecase>
+ <usecase id="workflow.publish">
+ <role id="admin" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="workflow.deactivate">
+ <role id="admin" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="workflow.reject">
+ <role id="admin" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="workflow.submit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="workflow.multiWorkflow">
+ <role id="admin" method="grant"/>
+ <role id="review" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="workflow.multiWorkflowInvoke">
+ <role id="admin" method="grant"/>
+ <role id="review" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="kupu.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="resource.upload">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="resource.create">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="entry.create">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="export.import">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="export.importExampleContent">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="notification.inbox">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="notification.sendMessage">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ <role id="review" method="grant"/>
+ </usecase>
+ <usecase id="neutron.checkout">
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="neutron.checkin">
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="news.edit">
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.insertLink">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.insertImage">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.insertAsset">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="editors.createResource">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="tinymce.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+ <usecase id="fckeditor.edit">
+ <role id="admin" method="grant"/>
+ <role id="edit" method="grant"/>
+ </usecase>
+</usecases>
Added: lenya/sandbox/pubs/docu/config/publication.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/publication.xml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/publication.xml (added)
+++ lenya/sandbox/pubs/docu/config/publication.xml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<publication xmlns="http://apache.org/cocoon/lenya/publication/1.1">
+ <name>Lenya Documentation</name>
+ <description>This publication is a best practice, getting started publication.</description>
+ <version>2.0-dev</version>
+ <lenya-version>2.0-dev</lenya-version>
+ <lenya-revision>xxx</lenya-revision>
+ <cocoon-version>2.1.10-dev</cocoon-version>
+ <languages>
+ <language default="true">en</language>
+ <language>de</language>
+ <language>he</language>
+ <language>es</language>
+ <language>fr</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-types/>
+ <modules/>
+ <proxies>
+ <!--
+ <proxy ssl="true" url="https://www.example.com" area="live"/>
+ <proxy ssl="false" url="http://www.example.com" area="live"/>
+ <proxy ssl="true" url="https://cms.example.com/authoring" area="authoring"/>
+ <proxy ssl="false" url="http://cms.example.com/authoring" area="authoring"/>
+ <proxy ssl="true" url="https://cms.example.com/trash" area="trash"/>
+ <proxy ssl="false" url="http://cms.example.com/trash" area="trash"/>
+ <proxy ssl="true" url="https://cms.example.com/archive" area="archive"/>
+ <proxy ssl="false" url="http://cms.example.com/archive" area="archive"/>
+ -->
+ </proxies>
+ <template id="default"/>
+</publication>
Added: lenya/sandbox/pubs/docu/config/search/lucene_index.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/search/lucene_index.xml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/search/lucene_index.xml (added)
+++ lenya/sandbox/pubs/docu/config/search/lucene_index.xml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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.
+-->
+<indexes>
+ <index analyzer="stopword_en" directory="lenya/pubs/docu/work/lucene/index/live/index" id="docu-live">
+ <structure>
+ <field id="url" type="keyword"/>
+ <field id="title" storetext="true" type="text"/>
+ <field id="description" storetext="true" type="text"/>
+ <field id="subject" storetext="true" type="keyword"/>
+ <field id="body" storetext="true" type="text"/>
+ </structure>
+ </index>
+ <index analyzer="stopword_en" directory="lenya/pubs/docu/work/lucene/index/authoring/index" id="docu-authoring">
+ <structure>
+ <field id="url" type="keyword"/>
+ <field id="title" storetext="true" type="text"/>
+ <field id="description" storetext="true" type="text"/>
+ <field id="subject" storetext="true" type="keyword"/>
+ <field id="body" storetext="true" type="text"/>
+ </structure>
+ </index>
+ <index analyzer="stopword_en" directory="lenya/pubs/docu/work/lucene/index/trash/index" id="docu-trash">
+ <structure>
+ <field id="url" type="keyword"/>
+ <field id="title" storetext="true" type="text"/>
+ <field id="description" storetext="true" type="text"/>
+ <field id="subject" storetext="true" type="keyword"/>
+ <field id="body" storetext="true" type="text"/>
+ </structure>
+ </index>
+ <index analyzer="stopword_en" directory="lenya/pubs/docu/work/lucene/index/archive/index" id="docu-archive">
+ <structure>
+ <field id="url" type="keyword"/>
+ <field id="title" storetext="true" type="text"/>
+ <field id="description" storetext="true" type="text"/>
+ <field id="subject" storetext="true" type="keyword"/>
+ <field id="body" storetext="true" type="text"/>
+ </structure>
+ </index>
+</indexes>
Added: lenya/sandbox/pubs/docu/config/workflow/workflow.xml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/workflow/workflow.xml?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/workflow/workflow.xml (added)
+++ lenya/sandbox/pubs/docu/config/workflow/workflow.xml Tue Oct 30 13:52:44 2007
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 587898 2007-10-24 14:36:34Z rfrovarp $ -->
+
+<workflow xmlns="http://apache.org/cocoon/lenya/workflow/1.0">
+
+ <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="review" destination="authoring">
+ <event id="deactivate"/>
+ <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+ <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+ <assign variable="is_live" value="false"/>
+ </transition>
+
+ <transition source="authoring" destination="authoring">
+ <event id="deactivate"/>
+ <condition class="org.apache.lenya.workflow.impl.BooleanVariableCondition">is_live = true</condition>
+ <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="archive" destination="trash">
+ <event id="delete"/>
+ <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>
Added: lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/menu.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/menu.xsl?rev=590450&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/menu.xsl (added)
+++ lenya/sandbox/pubs/docu/lenya/modules/sitetree/xslt/navigation/menu.xsl Tue Oct 30 13:52:44 2007
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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: menu.xsl 42703 2004-03-13 12:57:53Z gregor $ -->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+ xmlns="http://www.w3.org/1999/xhtml"
+ exclude-result-prefixes="nav"
+ >
+
+
+ <xsl:import href="template-fallback://lenya/modules/sitetree/xslt/navigation/menu.xsl"/>
+
+ <xsl:template match="nav:site/nav:node">
+ <xsl:if test="parent::nav:site and descendant-or-self::nav:node[@current = 'true']">
+ <xsl:apply-templates select="nav:node"/>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="nav:node/nav:node">
+ <xsl:choose>
+ <xsl:when test="descendant-or-self::nav:node[@current = 'true']">
+ <div class="menublock-selected-{count(ancestor-or-self::nav:node) - 1}">
+ <xsl:call-template name="item"/>
+ <xsl:apply-templates select="nav:node"/>
+ </div>
+ </xsl:when>
+ <xsl:otherwise>
+ <div class="menublock-{count(ancestor-or-self::nav:node) - 1}">
+ <xsl:call-template name="item"/>
+ <xsl:apply-templates select="nav:node"/>
+ </div>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+
+ <xsl:template name="item-default">
+ <div class="menuitem-{count(ancestor-or-self::nav:node) - 1}">
+ <a href="{@href}"><xsl:apply-templates select="nav:label"/></a>
+ </div>
+ </xsl:template>
+
+
+ <xsl:template name="item-selected">
+ <div class="menuitem-selected-{count(ancestor-or-self::nav:node) - 1}">
+ <xsl:apply-templates select="nav:label"/>
+ </div>
+ </xsl:template>
+
+
+</xsl:stylesheet>
Added: lenya/sandbox/pubs/docu/work/lucene/index/archive/index/segments
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/work/lucene/index/archive/index/segments?rev=590450&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/pubs/docu/work/lucene/index/archive/index/segments
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: lenya/sandbox/pubs/docu/work/lucene/index/authoring/index/segments
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/work/lucene/index/authoring/index/segments?rev=590450&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/pubs/docu/work/lucene/index/authoring/index/segments
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: lenya/sandbox/pubs/docu/work/lucene/index/live/index/segments
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/work/lucene/index/live/index/segments?rev=590450&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/pubs/docu/work/lucene/index/live/index/segments
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: lenya/sandbox/pubs/docu/work/lucene/index/trash/index/segments
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/work/lucene/index/trash/index/segments?rev=590450&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/sandbox/pubs/docu/work/lucene/index/trash/index/segments
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org