[CMF-checkins] SVN: CMF/trunk/GenericSetup/tool.py Fixed security declarations.

Florent Guillaume fg at nuxeo.com
Mon Nov 28 13:31:35 EST 2005


Log message for revision 40392:
  Fixed security declarations.
  

Changed:
  U   CMF/trunk/GenericSetup/tool.py

-=-
Modified: CMF/trunk/GenericSetup/tool.py
===================================================================
--- CMF/trunk/GenericSetup/tool.py	2005-11-28 16:21:21 UTC (rev 40391)
+++ CMF/trunk/GenericSetup/tool.py	2005-11-28 18:31:33 UTC (rev 40392)
@@ -160,7 +160,7 @@
         """
         return 'ascii'
 
-    security.declareProtected(ManagePortal, 'getImportContextId')
+    security.declareProtected(ManagePortal, 'getImportContextID')
     def getImportContextID(self):
 
         """ See ISetupTool.
@@ -199,7 +199,7 @@
         """
         return self._toolset_registry
 
-    security.declareProtected(ManagePortal, 'executeStep')
+    security.declareProtected(ManagePortal, 'runImportStep')
     def runImportStep(self, step_id, run_dependencies=True, purge_old=None):
 
         """ See ISetupTool.
@@ -231,7 +231,7 @@
 
         return { 'steps' : steps, 'messages' : messages }
 
-    security.declareProtected(ManagePortal, 'runAllSetupSteps')
+    security.declareProtected(ManagePortal, 'runAllImportSteps')
     def runAllImportSteps(self, purge_old=None):
 
         """ See ISetupTool.



More information about the CMF-checkins mailing list