Commit 51ba4b90 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Add Wechat event security

parent 982fbf10
Pipeline #7072 passed with stage
in 0 seconds
<type_roles>
<role id='Assignor'>
<property id='title'>Group company</property>
<multi_property id='categories'>local_role_group/group</multi_property>
<multi_property id='category'>group/company</multi_property>
<multi_property id='base_category'>group</multi_property>
</role>
<role id='Assignee'>
<property id='title'>Shadow User</property>
<property id='condition'>python: here.getDestinationSection('', portal_type='Person') != ''</property>
<property id='base_category_script'>PayzenEventType_getSecurityCategoryFromUser</property>
<multi_property id='categories'>local_role_group/shadow</multi_property>
<multi_property id='base_category'>aggregate</multi_property>
</role>
</type_roles>
\ No newline at end of file
......@@ -83,4 +83,8 @@
<type>Web Message</type>
<workflow>slapos_erp5_interaction_workflow</workflow>
</chain>
<chain>
<type>Wechat Event</type>
<workflow>local_permission_slapos_interaction_workflow</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
......@@ -125,4 +125,5 @@ User Consumption HTML File
Visit
Web Message
Web Page
Web Page Module
\ No newline at end of file
Web Page Module
Wechat Event
\ No newline at end of file
......@@ -22,4 +22,5 @@ Slave Instance | local_permission_slapos_interaction_workflow
Software Installation | local_permission_slapos_interaction_workflow
Software Instance | local_permission_slapos_interaction_workflow
Support Request | slapos_erp5_interaction_workflow
Web Message | slapos_erp5_interaction_workflow
\ No newline at end of file
Web Message | slapos_erp5_interaction_workflow
Wechat Event | local_permission_slapos_interaction_workflow
\ 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