[Erp5-report] r12999 - in /erp5/trunk/products: ERP5/Document/ ERP5Form/ ERP5SyncML/ ERP5Ty...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 23 15:06:37 CET 2007


Author: kazuhiko
Date: Fri Feb 23 15:06:10 2007
New Revision: 12999

URL: http://svn.erp5.org?rev=12999&view=rev
Log:
fix typos in method names of security declarations.

Modified:
    erp5/trunk/products/ERP5/Document/DeliveryLine.py
    erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
    erp5/trunk/products/ERP5Form/SelectionTool.py
    erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
    erp5/trunk/products/ERP5Type/Tool/MemcachedTool.py

Modified: erp5/trunk/products/ERP5/Document/DeliveryLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/DeliveryLine.py?rev=12999&r1=12998&r2=12999&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/DeliveryLine.py (original)
+++ erp5/trunk/products/ERP5/Document/DeliveryLine.py Fri Feb 23 15:06:10 2007
@@ -223,7 +223,7 @@
       else:
         return 1
   
-    security.declareProtected(Permissions.View, 'getDivergentList')
+    security.declareProtected(Permissions.View, 'getDivergenceList')
     def getDivergenceList(self):
       """
       Return a list of messages that contains the divergences

Modified: erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py?rev=12999&r1=12998&r2=12999&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisationMovement.py Fri Feb 23 15:06:10 2007
@@ -303,7 +303,7 @@
     return parameter_dict
 
       
-  security.declareProtected(Permissions.View, 'getActualAmortisationMethod')
+  security.declareProtected(Permissions.View, 'getActualAmortisationMethodForItem')
   def getActualAmortisationMethodForItem(self, item, **kw):
     """
     Returns the actual amortisation method by getting the previous

Modified: erp5/trunk/products/ERP5Form/SelectionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/SelectionTool.py?rev=12999&r1=12998&r2=12999&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/SelectionTool.py (original)
+++ erp5/trunk/products/ERP5Form/SelectionTool.py Fri Feb 23 15:06:10 2007
@@ -992,7 +992,7 @@
         self.cookie_password = cookie_password
       return cookie_password
 
-    security.declareProtected(ERP5Permissions.View, 'registerCookieInfo')
+    security.declareProtected(ERP5Permissions.View, 'setCookieInfo')
     def setCookieInfo(self,request,cookie_name,**kw):
       """
       register info directly in cookie

Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=12999&r1=12998&r2=12999&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Fri Feb 23 15:06:10 2007
@@ -653,7 +653,7 @@
             directory._delObject(copy_id)
         signature.setStatus(self.PUB_CONFLICT_MERGE)
 
-  security.declareProtected(Permissions.ModifyPortalContent, 'manageLocalValue')
+  security.declareProtected(Permissions.ModifyPortalContent, 'managePublisherValue')
   def managePublisherValue(self, subscription_url, property_id, object_path, RESPONSE=None):
     """
     Do whatever needed in order to store the local value on

Modified: erp5/trunk/products/ERP5Type/Tool/MemcachedTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/MemcachedTool.py?rev=12999&r1=12998&r2=12999&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/MemcachedTool.py (original)
+++ erp5/trunk/products/ERP5Type/Tool/MemcachedTool.py Fri Feb 23 15:06:10 2007
@@ -249,7 +249,7 @@
         self._v_memcached_dict = dictionary
       return dictionary
   
-    security.declareProtected(Permissions.AccessContentsInformation, 'getMemcacheDict')
+    security.declareProtected(Permissions.AccessContentsInformation, 'getMemcachedDict')
     def getMemcachedDict(self, key_prefix):
       """
         Returns an object which can be used as a dict and which gets from/stores




More information about the Erp5-report mailing list