[CMF-checkins] CVS: CMF/CMFDefault - DefaultWorkflow.py:1.10 MembershipTool.py:1.23

Tres Seaver tseaver@zope.com
Mon, 1 Apr 2002 15:21:58 -0500


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv13267/CMFDefault

Modified Files:
	DefaultWorkflow.py MembershipTool.py 
Log Message:


  - Made generated home pages for new members participate fully in
    workflow (Tracker #467).


=== CMF/CMFDefault/DefaultWorkflow.py 1.9 => 1.10 ===
         and put in its new place.
         '''
+        self.setReviewStateOf( ob, 'private', 'joined', '' )
         self.updateRoleMappingsFor(ob)
 
     security.declarePrivate('notifyBefore')


=== CMF/CMFDefault/MembershipTool.py 1.22 => 1.23 ===
             # Overcome an apparent catalog bug.
             f.index_html.reindexObject()
+            wftool = getToolByName( f, 'portal_workflow' )
+            wftool.notifyCreated( f.index_html )
             
 
     def getHomeFolder(self, id=None, verifyPermission=0):