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/02/20 11:43:18 UTC

svn commit: r509504 - in /lenya/trunk/src: modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf pubs/default/config/ac/usecase-policies.xml

Author: andreas
Date: Tue Feb 20 02:43:18 2007
New Revision: 509504

URL: http://svn.apache.org/viewvc?view=rev&rev=509504
Log:
Fixed admin.ipRange declaration and added policy

Modified:
    lenya/trunk/src/modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf
    lenya/trunk/src/pubs/default/config/ac/usecase-policies.xml

Modified: lenya/trunk/src/modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf?view=diff&rev=509504&r1=509503&r2=509504
==============================================================================
--- lenya/trunk/src/modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf (original)
+++ lenya/trunk/src/modules-core/administration/config/cocoon-xconf/usecase-admin-ipRange.xconf Tue Feb 20 02:43:18 2007
@@ -21,7 +21,7 @@
     This file defines the publication specific use-cases
 -->
 
-  <xconf xpath="/cocoon/usecases" unless="/cocoon/usecases/component-instance[@name = 'admin.addIPRange']">
+  <xconf xpath="/cocoon/usecases" unless="/cocoon/usecases/component-instance[@name = 'admin.ipRange']">
     <component-instance name="admin.ipRange" logger="lenya.admin" class="org.apache.lenya.cms.ac.usecases.IPRange">
       <view template="modules/administration/usecases/ipRange.jx" menu="true">
         <tab group="admin" name="ipRanges"/>

Modified: lenya/trunk/src/pubs/default/config/ac/usecase-policies.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/config/ac/usecase-policies.xml?view=diff&rev=509504&r1=509503&r2=509504
==============================================================================
--- lenya/trunk/src/pubs/default/config/ac/usecase-policies.xml (original)
+++ lenya/trunk/src/pubs/default/config/ac/usecase-policies.xml Tue Feb 20 02:43:18 2007
@@ -248,6 +248,9 @@
   <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>



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