Commit f75bfd5b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Minor change

   Limit role definition for whenever destination decision is a person, follow up the role over Subscription Request, to be future-proof whenever doing Organisation accounting.
parent 8a5e226b
<type_roles> <type_roles>
<role id='Auditor'> <role id='Auditor'>
<property id='title'>Customer</property> <property id='title'>Customer</property>
<property id='description'>Monovalued role</property> <property id='condition'>python: context.getDestinationDecision('', portal_type='Person') != ""</property>
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property> <property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='categories'>local_role_group/user</multi_property> <multi_property id='categories'>local_role_group/user</multi_property>
<multi_property id='base_category'>destination_decision</multi_property> <multi_property id='base_category'>destination_decision</multi_property>
......
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