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/09/05 10:47:23 UTC

svn commit: r440296 - in /lenya/trunk/src/pubs: blog/config/ac/policies/modules/ blog/config/ac/policies/modules/subtree-policy.acml default/config/ac/policies/modules/ default/config/ac/policies/modules/subtree-policy.acml

Author: thorsten
Date: Tue Sep  5 01:47:22 2006
New Revision: 440296

URL: http://svn.apache.org/viewvc?view=rev&rev=440296
Log:
The ac restricted blocked all modules out, since they did not had a policy file. The usecase-policies.xml is not read by the ac, it only got read for the menu generation.

Added:
    lenya/trunk/src/pubs/blog/config/ac/policies/modules/
    lenya/trunk/src/pubs/blog/config/ac/policies/modules/subtree-policy.acml
    lenya/trunk/src/pubs/default/config/ac/policies/modules/
    lenya/trunk/src/pubs/default/config/ac/policies/modules/subtree-policy.acml

Added: lenya/trunk/src/pubs/blog/config/ac/policies/modules/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/blog/config/ac/policies/modules/subtree-policy.acml?view=auto&rev=440296
==============================================================================
--- lenya/trunk/src/pubs/blog/config/ac/policies/modules/subtree-policy.acml (added)
+++ lenya/trunk/src/pubs/blog/config/ac/policies/modules/subtree-policy.acml Tue Sep  5 01:47:22 2006
@@ -0,0 +1,34 @@
+<?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" method="grant"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review" method="grant"/>
+  </group>
+
+  <group id="admin">
+    <role id="admin" method="grant"/>
+  </group>
+
+</policy> 

Added: lenya/trunk/src/pubs/default/config/ac/policies/modules/subtree-policy.acml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/ac/policies/modules/subtree-policy.acml?view=auto&rev=440296
==============================================================================
--- lenya/trunk/src/pubs/default/config/ac/policies/modules/subtree-policy.acml (added)
+++ lenya/trunk/src/pubs/default/config/ac/policies/modules/subtree-policy.acml Tue Sep  5 01:47:22 2006
@@ -0,0 +1,34 @@
+<?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" method="grant"/>
+  </group>
+
+  <group id="reviewer">
+    <role id="review" method="grant"/>
+  </group>
+
+  <group id="admin">
+    <role id="admin" method="grant"/>
+  </group>
+
+</policy> 



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