Set manager_bypass to False, remove guard-role for Manager for mark-as-done, validate and refuse transitions

This commit is contained in:
Cédric Messiant 2013-07-19 09:56:10 +02:00
parent a5330db0d2
commit 696e8a5151
3 changed files with 1 additions and 4 deletions

View File

@ -38,7 +38,6 @@
<action url="" category="workflow" icon="" i18n:translate="">Mark as done</action>
<guard>
<guard-role>Editor</guard-role>
<guard-role>Manager</guard-role>
</guard>
</transition>
</dc-workflow>

View File

@ -4,7 +4,7 @@
description="Task workflow"
state_variable="review_state"
initial_state="todo"
manager_bypass="True"
manager_bypass="False"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone">
<permission>Modify portal content</permission>

View File

@ -50,14 +50,12 @@
<action url="" category="workflow" icon="" i18n:translate="">Validate</action>
<guard>
<guard-role>Editor</guard-role>
<guard-role>Manager</guard-role>
</guard>
</transition>
<transition transition_id="refuse" title="Refuse" new_state="refused" trigger="USER" before_script="" after_script="">
<action url="" category="workflow" icon="" i18n:translate="">Refuse</action>
<guard>
<guard-role>Editor</guard-role>
<guard-role>Manager</guard-role>
</guard>
</transition>
</dc-workflow>