Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin-telecom
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
1
Merge Requests
1
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
Paul Graydon
wendelin-telecom
Commits
d3fead90
Commit
d3fead90
authored
Oct 21, 2024
by
Paul Graydon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wendelin_telecom_security: Add missing security interaction
Properly propagate destination_project to ingestion objects
parent
41bc8fdc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
0 deletions
+81
-0
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/interaction_data_supply_set_destination_project.xml
...kflow/interaction_data_supply_set_destination_project.xml
+1
-0
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateRelatedDestinationProject.py
...flow/script_DataSupply_updateRelatedDestinationProject.py
+8
-0
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateRelatedDestinationProject.xml
...low/script_DataSupply_updateRelatedDestinationProject.xml
+72
-0
No files found.
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/interaction_data_supply_set_destination_project.xml
View file @
d3fead90
...
...
@@ -12,6 +12,7 @@
<tuple>
<string>
before_commit_script/portal_workflow/wendelin_telecom_security_interaction_workflow/script_Base_updateLocalRoles
</string>
<string>
before_commit_script/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateLineAggregateLocalRoles
</string>
<string>
before_commit_script/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateRelatedDestinationProject
</string>
</tuple>
</value>
</item>
...
...
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateRelatedDestinationProject.py
0 → 100644
View file @
d3fead90
data_supply
=
state_change
[
'object'
]
destination_project
=
data_supply
.
getDestinationProject
()
for
value
in
data_supply
.
Base_getRelatedObjectList
():
try
:
value
.
setDestinationProject
(
destination_project
)
except
AttributeError
:
pass
bt5/wendelin_telecom_security/WorkflowTemplateItem/portal_workflow/wendelin_telecom_security_interaction_workflow/script_DataSupply_updateRelatedDestinationProject.xml
0 → 100644
View file @
d3fead90
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Workflow Script"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
state_change
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
script_DataSupply_updateRelatedDestinationProject
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
DataSupply_updateRelatedDestinationProject
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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