List Info

Thread: Update of "HowToDefaultPublicationUsefulChan




Update of "HowToDefaultPublicationUsefulChan
user name
2006-10-27 08:54:29
Dear Wiki user,

You have subscribed to a wiki page or wiki category on
"Lenya Wiki" for change notification.

The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/HowToDefaultPublic
ationUsefulChanges

------------------------------------------------------------
------------------
   * [#navtitle Hand the Navigation Title through to the
browser]
   * [#checkout Allow users to override checkouts by other
users]
   * [#acauth Only allow admins to change AC Auth values for
pages]
+  * [#wfshortcut Allow users with both "edit" and
"review" roles to publish a page in one step]
  
  ----
  
 -413,
+414 

  
  Now, whenever a none admin tries to use the AC Auth page
they will be prevented from doing so.
  
+ 
+ [[Anchor(wfshortcut)]]
+ == Allow users with both "edit" and
"review" roles to publish a page in one step ==
+ 
+ Often, users do not need the 2-step workflow between
editor and reviewer. You can assign both roles to a user,
and then allow her/him to publish in one step, going from
state "authoring" directly to state
"live". To do this, add the following snippet to
<yourpub>/config/workflow/workflow.xml:
+ {{{
+ <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>
+ }}}
+ 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )