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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.