Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.core
Commits
51ba4b90
Commit
51ba4b90
authored
Dec 12, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Add Wechat event security
parent
982fbf10
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
2 deletions
+23
-2
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
+15
-0
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
master/bt5/slapos_erp5/bt/template_portal_type_role_list
master/bt5/slapos_erp5/bt/template_portal_type_role_list
+2
-1
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
...5/slapos_erp5/bt/template_portal_type_workflow_chain_list
+2
-1
No files found.
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Wechat%20Event.xml
0 → 100644
View file @
51ba4b90
<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
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
51ba4b90
...
@@ -83,4 +83,8 @@
...
@@ -83,4 +83,8 @@
<type>
Web Message
</type>
<type>
Web Message
</type>
<workflow>
slapos_erp5_interaction_workflow
</workflow>
<workflow>
slapos_erp5_interaction_workflow
</workflow>
</chain>
</chain>
<chain>
<type>
Wechat Event
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
</workflow_chain>
</workflow_chain>
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_portal_type_role_list
View file @
51ba4b90
...
@@ -125,4 +125,5 @@ User Consumption HTML File
...
@@ -125,4 +125,5 @@ User Consumption HTML File
Visit
Visit
Web Message
Web Message
Web Page
Web Page
Web Page Module
Web Page Module
\ No newline at end of file
Wechat Event
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
View file @
51ba4b90
...
@@ -22,4 +22,5 @@ Slave Instance | local_permission_slapos_interaction_workflow
...
@@ -22,4 +22,5 @@ Slave Instance | local_permission_slapos_interaction_workflow
Software Installation | local_permission_slapos_interaction_workflow
Software Installation | local_permission_slapos_interaction_workflow
Software Instance | local_permission_slapos_interaction_workflow
Software Instance | local_permission_slapos_interaction_workflow
Support Request | slapos_erp5_interaction_workflow
Support Request | slapos_erp5_interaction_workflow
Web Message | slapos_erp5_interaction_workflow
Web Message | slapos_erp5_interaction_workflow
\ No newline at end of file
Wechat Event | local_permission_slapos_interaction_workflow
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment