</type>
<type type_id="Image Slot"/>
<type type_id="List Slot"/>
+ <type type_id="Member Data"/>
<type type_id="Order">
<bound-workflow workflow_id="order_workflow"/>
</type>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="default_workflow"
title="Plinn default workflow" description=""
state_variable="review_state"
- initial_state="private" manager_bypass="0">
-
+ initial_state="private" manager_bypass="False">
<permission>Access contents information</permission>
<permission>Change portal events</permission>
<permission>Change portal topics</permission>
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>
<worklist worklist_id="reviewer_queue" title="">
<description>Reviewer tasks</description>
<action url="%(portal_url)s/list_pending_contents"
- category="global">Pending (%(count)d)</action>
+ category="global" icon="">Pending (%(count)d)</action>
<guard>
<guard-expression>here/havePendingContents</guard-expression>
</guard>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="folder_workflow"
title="Plinn folder workflow" description=""
state_variable="review_state"
- initial_state="private" manager_bypass="0">
-
+ initial_state="private" manager_bypass="False">
<permission>Manage properties</permission>
<permission>Modify portal content</permission>
<permission>View</permission>
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="member_workflow"
title="Plinn member registration workflow"
description="" state_variable="review_state"
- initial_state="m_initial" manager_bypass="0">
-
+ initial_state="m_initial"
+ manager_bypass="False">
<state state_id="m_initial" title="">
<exit-transition transition_id="create"/>
<exit-transition transition_id="silent_register"/>
<worklist worklist_id="reviewer_queue" title="">
<description>Reviewer tasks</description>
<action url="%(portal_url)s/pending_members"
- category="global">Membres en attente (%(count)d)</action>
+ category="global" icon="">Membres en attente (%(count)d)</action>
<guard>
<guard-permission>Set Member Properties</guard-permission>
</guard>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="order_workflow"
title="Order workflow" description=""
state_variable="review_state"
- initial_state="recorded" manager_bypass="0">
+ initial_state="recorded" manager_bypass="False">
<instance-creation-conditions>
<guard>
<guard-role>Authenticated</guard-role>
</state>
<state state_id="done" title="">
<exit-transition transition_id="notify_sent"/>
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
</state>
<state state_id="paid" title="">
<exit-transition transition_id="get_printing_list"/>
<exit-transition transition_id="notify_done"/>
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
</state>
<state state_id="recorded" title="">
- <exit-transition transition_id="auto_accept_payment"/>
- <exit-transition transition_id="auto_cancel_order"/>
- <exit-transition transition_id="auto_refuse_payment"/>
- <exit-transition transition_id="auto_transaction_failed"/>
<exit-transition transition_id="cancel"/>
<exit-transition transition_id="manual_payment"/>
+ <exit-transition transition_id="paypal_pay"/>
<permission-map name="Access contents information"
acquired="False">
<permission-role>Manager</permission-role>
</permission-map>
</state>
<state state_id="refused" title="">
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
</state>
<state state_id="sent" title="">
+ <permission-map name="Access contents information"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
+ <permission-map name="Delete Owned Objects"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Manage properties" acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="Modify portal content"
+ acquired="False">
+ <permission-role>Manager</permission-role>
+ </permission-map>
+ <permission-map name="View" acquired="False">
+ <permission-role>Manager</permission-role>
+ <permission-role>Owner</permission-role>
+ </permission-map>
</state>
- <transition transition_id="auto_accept_payment"
- title="Accept payment" new_state="paid"
- trigger="USER" before_script="" after_script="">
- <description>Payment accepted by the bank</description>
-
- <guard>
- <guard-expression>nothing</guard-expression>
- </guard>
- </transition>
- <transition transition_id="auto_cancel_order"
- title="Cancel order" new_state=""
- trigger="USER" before_script="" after_script="">
- <description>The customer has canceled the order from payement site.</description>
-
- <guard>
- <guard-expression>nothing</guard-expression>
- </guard>
- </transition>
- <transition transition_id="auto_refuse_payment"
- title="Refuse payment" new_state="refused"
- trigger="USER" before_script="" after_script="">
- <description>Payment refused by the bank.</description>
-
- <guard>
- <guard-expression>nothing</guard-expression>
- </guard>
- </transition>
- <transition transition_id="auto_transaction_failed"
- title="" new_state="" trigger="USER"
- before_script="" after_script="">
-
- <guard>
- <guard-expression>nothing</guard-expression>
- </guard>
- </transition>
<transition transition_id="cancel" title=""
new_state="canceled" trigger="USER"
before_script="" after_script="relistCopies">
<action url="%(content_url)s/order_cancel_form"
- category="workflow">Cancel</action>
+ category="workflow" icon="">Cancel</action>
<guard>
<guard-permission>Manage print orders</guard-permission>
</guard>
new_state="" trigger="USER" before_script=""
after_script="">
<action url="%(object_url)s/order_printing_list"
- category="workflow">Printing list</action>
+ category="workflow" icon="">Printing list</action>
<guard>
<guard-permission>Manage print orders</guard-permission>
</guard>
new_state="paid" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/order_manual_payment_form"
- category="workflow">Manual payment</action>
+ category="workflow" icon="">Manual payment</action>
<guard>
<guard-permission>Manage print orders</guard-permission>
</guard>
new_state="done" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/order_notify_done_form"
- category="workflow">Notify done</action>
+ category="workflow" icon="">Notify done</action>
<guard>
<guard-permission>Manage print orders</guard-permission>
</guard>
new_state="sent" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/order_notify_sent_form"
- category="workflow">Notify sent</action>
+ category="workflow" icon="">Notify sent</action>
<guard>
<guard-permission>Manage print orders</guard-permission>
</guard>
</transition>
+ <transition transition_id="paypal_pay" title=""
+ new_state="paid" trigger="USER"
+ before_script="" after_script="">
+
+ <guard>
+ <guard-role>Owner</guard-role>
+ </guard>
+ </transition>
<variable variable_id="action" for_catalog="False"
for_status="True" update_always="True">
<description>The last transition</description>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<dc-workflow workflow_id="portfolio_workflow"
title="Plinn folder workflow" description=""
state_variable="review_state"
- initial_state="private" manager_bypass="0">
-
+ initial_state="private" manager_bypass="False">
<permission>Add portal content</permission>
<permission>Change Images and Files</permission>
<permission>Delete Owned Objects</permission>
before_script="" after_script="">
<description>Reviewer can directly publish content if he have de Owner role (not necessarily ownership)</description>
<action url="%(content_url)s/content_publish_form?direct:boolean=True"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
<guard-expression>python:user.allowed(here, ['Owner'])</guard-expression>
new_state="published" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_publish_form"
- category="workflow">Publish</action>
+ category="workflow" icon="">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_reject_form"
- category="workflow">Reject</action>
+ category="workflow" icon="">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
</guard>
new_state="private" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_retract_form"
- category="workflow">Retract</action>
+ category="workflow" icon="">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
<guard-expression>python:not(here.portal_membership.checkPermission('Review portal content', here))</guard-expression>
new_state="pending" trigger="USER"
before_script="" after_script="">
<action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
+ category="workflow" icon="">Submit</action>
<guard>
<guard-permission>Request review</guard-permission>
</guard>