[CMF-checkins] CVS: Products/CMFDefault - DefaultWorkflow.py:1.6

Tres Seaver tseaver@zope.com
Thu, 16 Aug 2001 11:28:40 -0400


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv17592/CMFDefault

Modified Files:
	DefaultWorkflow.py 
Log Message:


 - Allow users with local role of "Reviewer" to see the "pending review"
   action.


=== Products/CMFDefault/DefaultWorkflow.py 1.5 => 1.6 ===
     def listGlobalActions(self, info):
         '''
-        Allows this workflow to
-        include actions to be displayed in the actions box.
-        Called on every request.
+        Allows this workflow to include actions to be displayed
+        in the actions box.  Called on every request.
+        
         Returns the actions to be displayed to the user.
         '''
-        if (info.isAnonymous or not _checkPermission(
-            'Review portal content', info.portal)):
+        if info.isAnonymous:
             return None
 
         actions = []