Commit 77fa7de1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Add a proxy role and a guard in Order_applyTradeCondition.

parent 8b96998e
...@@ -145,6 +145,21 @@ order.edit(**new_category_dict)\n ...@@ -145,6 +145,21 @@ order.edit(**new_category_dict)\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>trade_condition, force=0, reverse_arrow_category=0</string> </value> <value> <string>trade_condition, force=0, reverse_arrow_category=0</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Auditor</string>
</tuple>
</value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Order_applyTradeCondition</string> </value> <value> <string>Order_applyTradeCondition</string> </value>
...@@ -152,4 +167,21 @@ order.edit(**new_category_dict)\n ...@@ -152,4 +167,21 @@ order.edit(**new_category_dict)\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment