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 2008/03/05 16:00:23 UTC

svn commit: r633868 - in /lenya/sandbox/pubs/docu/config/access-control: ./ passwd/

Author: andreas
Date: Wed Mar  5 07:00:21 2008
New Revision: 633868

URL: http://svn.apache.org/viewvc?rev=633868&view=rev
Log:
Use docu/config for docu publication access control data.

Added:
    lenya/sandbox/pubs/docu/config/access-control/passwd/
    lenya/sandbox/pubs/docu/config/access-control/passwd/admin.gml
    lenya/sandbox/pubs/docu/config/access-control/passwd/admin.rml
    lenya/sandbox/pubs/docu/config/access-control/passwd/edit.rml
    lenya/sandbox/pubs/docu/config/access-control/passwd/editor.gml
    lenya/sandbox/pubs/docu/config/access-control/passwd/review.rml
    lenya/sandbox/pubs/docu/config/access-control/passwd/reviewer.gml
    lenya/sandbox/pubs/docu/config/access-control/passwd/session.rml
    lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.gml
    lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.rml
    lenya/sandbox/pubs/docu/config/access-control/passwd/visit.rml
Modified:
    lenya/sandbox/pubs/docu/config/access-control/access-control.xml

Modified: 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=633868&r1=633867&r2=633868&view=diff
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/access-control.xml (original)
+++ lenya/sandbox/pubs/docu/config/access-control/access-control.xml Wed Mar  5 07:00:21 2008
@@ -21,12 +21,9 @@
 <access-controller type="bypassable">
   
   <accreditable-manager type="file">
-    <parameter name="directory" value="context:///lenya/pubs/default/config/access-control/passwd"/>
-    
+    <parameter name="directory" value="context:///lenya/pubs/docu/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>
   

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/admin.gml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/admin.gml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/admin.gml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/admin.gml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: admin.gml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="admin"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/admin.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/admin.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/admin.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/admin.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: admin.rml 597037 2007-11-21 11:15:43Z andreas $ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="admin" assignable="false"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/edit.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/edit.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/edit.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/edit.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="edit"/>

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/editor.gml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/editor.gml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/editor.gml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/editor.gml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: editor.gml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="editor"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/review.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/review.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/review.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/review.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="review"/>

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/reviewer.gml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/reviewer.gml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/reviewer.gml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/reviewer.gml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: reviewer.gml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="reviewer"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/session.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/session.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/session.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/session.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="session"/>

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.gml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.gml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.gml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.gml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: editor.gml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<group class="org.apache.lenya.ac.file.FileGroup" id="sitemanager"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/sitemanager.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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: admin.rml 473861 2006-11-12 03:51:14Z gregor $ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="sitemanager"/>
\ No newline at end of file

Added: lenya/sandbox/pubs/docu/config/access-control/passwd/visit.rml
URL: http://svn.apache.org/viewvc/lenya/sandbox/pubs/docu/config/access-control/passwd/visit.rml?rev=633868&view=auto
==============================================================================
--- lenya/sandbox/pubs/docu/config/access-control/passwd/visit.rml (added)
+++ lenya/sandbox/pubs/docu/config/access-control/passwd/visit.rml Wed Mar  5 07:00:21 2008
@@ -0,0 +1,21 @@
+<?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$ -->
+
+<role class="org.apache.lenya.ac.file.FileRole" id="visit"/>



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