[Erp5-report] r44226 leonardo - /erp5/trunk/products/ERP5Type/Tool/ClassTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 14 10:51:31 CET 2011


Author: leonardo
Date: Mon Mar 14 10:51:31 2011
New Revision: 44226

URL: http://svn.erp5.org?rev=44226&view=rev
Log:
fix security declaration (function was public before due to docstring)

Modified:
    erp5/trunk/products/ERP5Type/Tool/ClassTool.py

Modified: erp5/trunk/products/ERP5Type/Tool/ClassTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/ClassTool.py?rev=44226&r1=44225&r2=44226&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] Mon Mar 14 10:51:31 2011
@@ -1190,7 +1190,7 @@ def initialize( context ):
         writeLocalConstraint(class_id, text, create=create,
                              instance_home=self._v_instance_home.getPath())
 
-      security.declareProtected(Permissions.ManagePortal, 'runLiveTest')
+      security.declareProtected(Permissions.ManagePortal, 'readTestOutput')
       def readTestOutput(self, position=0):
         """
         Return unread part of the test result



More information about the Erp5-report mailing list