[Zope3-checkins] CVS: Products3/NewsSite - workflow.xml:1.1

Michael Howitz mh+zope@gocept.com
Thu, 27 Mar 2003 09:25:57 -0500


Update of /cvs-repository/Products3/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv19519

Added Files:
	workflow.xml 
Log Message:
the workflowdefinition for the newsitems


=== Added File Products3/NewsSite/workflow.xml ===
<?xml version="1.0"?>
<workflow type="Zope3Workflow" title="PublishReview">
  <schema name=""/>
  <states>
    <state name="INITIAL" title="initial"/>
    <state name="private" title="Private"/>
    <state name="pending" title="Pending Publication"/>
    <state name="published" title="Public"/>
  </states>
  <transitions>
     
      <transition destinationState="private"
                  permission="zopeproducts.NewsSite.PublishContent"
                  sourceState="published"
                  title="unpublish news item"
                  triggerMode="Manual"
                  name="published_private"/>
    
     
      <transition destinationState="pending"
                  permission="zopeproducts.NewsSite.ModifyNewsItems"
                  sourceState="private"
                  title="submit news item"
                  triggerMode="Manual"
                  name="private_pending"/>
    
     
      <transition destinationState="private"
                  sourceState="INITIAL" title="make private"
                  triggerMode="Automatic"
                  name="initial_private"/>
    
     
      <transition destinationState="published"
                  permission="zopeproducts.NewsSite.PublishContent"
                  sourceState="pending"
                  title="publish news item"
                  triggerMode="Manual"
                  name="pending_published"/>
    
     
      <transition destinationState="private"
                  permission="zopeproducts.NewsSite.ModifyNewsItems"
                  sourceState="pending"
                  title="retract news item"
                  triggerMode="Manual"
                  name="pending_private"/>
    
     
      <transition destinationState="private"
                  permission="zopeproducts.NewsSite.PublishContent"
                  sourceState="pending"
                  title="reject news item"
                  triggerMode="Manual"
                  name="pending_private_reject"/>
    
  </transitions>
  
</workflow>