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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Aug 23 11:26:57 CEST 2006


Author: jerome
Date: Wed Aug 23 11:26:54 2006
New Revision: 9344

URL: http://svn.erp5.org?rev=9344&view=rev
Log:
add security declaration as well

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

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=9344&r1=9343&r2=9344&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Wed Aug 23 11:26:54 2006
@@ -3747,6 +3747,8 @@
           self.workflow_history[
                             'business_template_installation_workflow'] = None
 
+    security.declareProtected(Permissions.AccessContentsInformation,
+                              'getRevision')
     def getRevision(self):
       """returns the revision property.
       This is a workaround for #461.




More information about the Erp5-report mailing list