DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40670>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40670 ------- Additional Comments From [EMAIL PROTECTED] 2006-10-27 01:46 ------- (In reply to comment #4) > > additionally, i would like to see a workflow shortcut: > > if a user has both edit and review roles for a given document, it should be > > possible to bypass the submission step and publish directly. in that case, > > the > > publish button needs to be active as well. i once tried to implement that > > but > > eventually ran into a brick wall... > > Just add the transition to the workflow configuration file, that should be > sufficient. for the record, i added this to <mypub>/config/workflow/workflow.xml, and it seems to work: <transition source="authoring" destination="live"> <event id="publish"/> <condition class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition> <condition class="org.apache.lenya.cms.workflow.RoleCondition">review</condition> <assign variable="is_live" value="true"/> </transition> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
