[Erp5-report] r13540 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 21 15:35:02 CET 2007


Author: seb
Date: Wed Mar 21 15:35:00 2007
New Revision: 13540

URL: http://svn.erp5.org?rev=13540&view=rev
Log:
fixed security settings on convertToBaseFormat

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=13540&r1=13539&r2=13540&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py (original)
+++ erp5/trunk/products/ERP5/Document/Document.py Wed Mar 21 15:35:00 2007
@@ -953,7 +953,7 @@
     return self.convert(format='html')
 
   # Base format support
-  security.declareProtected(Permissions.View, 'convertToBase')
+  security.declareProtected(Permissions.View, 'convertToBaseFormat')
   def convertToBaseFormat(self, REQUEST=None):
     """
       Converts the content of the document to a base format
@@ -1071,4 +1071,4 @@
 
       NOTE: to be implemented here.
     """
-    pass
+    pass




More information about the Erp5-report mailing list