[CMF-checkins] CVS: CMF/CMFCore - WorkflowTool.py:1.35
Chris Withers
chrisw@nipltd.com
Thu, 24 Oct 2002 10:32:50 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv21821
Modified Files:
WorkflowTool.py
Log Message:
Make getWorkflowsFor usuable TTW. I've protected it with Manage Portal for now so you still need to use a
proxy-roled script to do anything useful.
Can anyone suggest why this shouldn't just be protected by 'request review' or soem such?
=== CMF/CMFCore/WorkflowTool.py 1.34 => 1.35 ===
--- CMF/CMFCore/WorkflowTool.py:1.34 Sun Aug 4 19:32:36 2002
+++ CMF/CMFCore/WorkflowTool.py Thu Oct 24 10:32:49 2002
@@ -562,7 +562,7 @@
return tuple(wf_ids)
- security.declarePrivate('getWorkflowsFor')
+ security.declareProtected( ManagePortal, 'getWorkflowsFor')
def getWorkflowsFor(self, ob):
""" Find the workflows for the type of the given object.