You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ru...@apache.org on 2009/07/22 18:51:42 UTC

svn commit: r796793 - /lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml

Author: rudolf
Date: Wed Jul 22 16:51:42 2009
New Revision: 796793

URL: http://svn.apache.org/viewvc?rev=796793&view=rev
Log:
workflow defaultfiredocs pub: allowing users with edit and review roles to publish directly without submitting

Modified:
    lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml

Modified: lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml?rev=796793&r1=796792&r2=796793&view=diff
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml (original)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/config/workflow/workflow.xml Wed Jul 22 16:51:42 2009
@@ -33,6 +33,13 @@
     <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
   </transition>
         
+  <transition source="authoring" destination="live">
+    <event id="publish"/>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>
+    <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
+    <assign variable="is_live" value="true"/>
+  </transition>
+  
   <transition source="review" destination="live">
     <event id="publish"/>
     <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org