[CMF-checkins] CVS: CMF - DefaultWorkflow.py:1.3
tseaver@digicool.com
tseaver@digicool.com
Tue, 27 Mar 2001 10:55:55 -0500 (EST)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv3941/CMFCore
Modified Files:
DefaultWorkflow.py
Log Message:
* Allow Contributors to publish content directly (Tracker issue #216)
--- Updated File DefaultWorkflow.py in package CMF --
--- DefaultWorkflow.py 2001/02/28 19:22:42 1.2
+++ DefaultWorkflow.py 2001/03/27 15:55:53 1.3
@@ -164,7 +164,9 @@
show_retract = 0
if review_state == 'private':
- if allow_request:
+ if allow_review:
+ append_action('Publish', 'content_publish_form')
+ elif allow_request:
append_action('Submit', 'content_submit_form')
elif review_state == 'pending':