Commit c169e70d authored by Romain Courteaud's avatar Romain Courteaud

Simplify trade condition security.

give full view access to everybody for now.
parent 45c9edb1
<type_roles>
<role id='Auditor'>
<property id='title'>Friends of the trade condition</property>
<property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') != '')</property>
<property id='base_category_script'>SaleTradeConditionType_getSecurityCategoryFromOpenSaleOrder</property>
<multi_property id='base_category'>destination_section</multi_property>
</role>
<role id='Assignor'>
<property id='title'>Group company</property>
<multi_property id='category'>group/company</multi_property>
......@@ -12,19 +6,16 @@
</role>
<role id='Auditor'>
<property id='title'>Instance</property>
<property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') == '')</property>
<multi_property id='category'>role/instance</multi_property>
<multi_property id='base_category'>role</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Member</property>
<property id='condition'>python: (here.getValidationState() == 'validated') and (here.getDestinationSection('') == '')</property>
<multi_property id='category'>role/member</multi_property>
<multi_property id='base_category'>role</multi_property>
</role>
<role id='Assignor'>
<property id='title'>Provider of the trade condition</property>
<property id='condition'>python: (here.getValidationState() == 'validated') and (here.getSourceSection('') != '')</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='base_category'>source_section</multi_property>
</role>
......
514
\ No newline at end of file
515
\ No newline at end of file
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