[CMF-checkins] CVS: CMF/CMFDefault - DefaultWorkflow.py:1.17.12.1
Christian Theune
ct@gocept.com
Fri, 14 Mar 2003 11:16:07 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv22278/CMFDefault
Modified Files:
Tag: ctheune-bug52-branch
DefaultWorkflow.py
Log Message:
fix for bug 52
=== CMF/CMFDefault/DefaultWorkflow.py 1.17 => 1.17.12.1 ===
--- CMF/CMFDefault/DefaultWorkflow.py:1.17 Thu Feb 13 03:35:28 2003
+++ CMF/CMFDefault/DefaultWorkflow.py Fri Mar 14 11:16:07 2003
@@ -26,6 +26,7 @@
from Products.CMFCore.utils import SimpleItemWithProperties
from Products.CMFCore.WorkflowCore import WorkflowException
from Products.CMFCore.WorkflowTool import addWorkflowClass
+from Products.CMFCore.CMFCorePermissions.py import ReviewPortalContent
from Products.CMFCore.interfaces.portal_workflow \
import WorkflowDefinition as IWorkflowDefinition
@@ -154,7 +155,7 @@
{'name': 'Pending review (%d)' % pending,
'url': info.portal_url +
'/search?review_state=pending',
- 'permissions': (),
+ 'permissions': (ReviewPortalContent),
'category': 'global'}
)
return actions