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
Paul Graydon
slapos.core
Commits
b187e88f
Commit
b187e88f
authored
Oct 25, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate local roles generation workflow.
parent
311b705f
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
704 additions
and
189 deletions
+704
-189
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+34
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow.xml
...workflow/local_permission_slapos_interaction_workflow.xml
+46
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions.xml
...l_permission_slapos_interaction_workflow/interactions.xml
+28
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/ComputerModel_edit.xml
..._interaction_workflow/interactions/ComputerModel_edit.xml
+96
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/ComputerNetwork_edit.xml
...nteraction_workflow/interactions/ComputerNetwork_edit.xml
+96
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/Computer_edit.xml
...lapos_interaction_workflow/interactions/Computer_edit.xml
+99
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/Computer_reindexObject.xml
...eraction_workflow/interactions/Computer_reindexObject.xml
+5
-5
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/HostingSubscription_edit.xml
...action_workflow/interactions/HostingSubscription_edit.xml
+1
-1
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/Person_edit.xml
..._slapos_interaction_workflow/interactions/Person_edit.xml
+3
-3
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SlaveInstance_edit.xml
..._interaction_workflow/interactions/SlaveInstance_edit.xml
+96
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstallation_edit.xml
...ction_workflow/interactions/SoftwareInstallation_edit.xml
+8
-10
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstance_edit.xml
...teraction_workflow/interactions/SoftwareInstance_edit.xml
+5
-8
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstance_updateComputerPartition.xml
...interactions/SoftwareInstance_updateComputerPartition.xml
+96
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts.xml
.../local_permission_slapos_interaction_workflow/scripts.xml
+28
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts/Base_recursiveReindexObject.xml
...eraction_workflow/scripts/Base_recursiveReindexObject.xml
+0
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts/Base_updateAllLocalRoles.xml
...interaction_workflow/scripts/Base_updateAllLocalRoles.xml
+6
-16
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts/SoftwareInstance_updateComputerPartitionLocalRoles.xml
...ts/SoftwareInstance_updateComputerPartitionLocalRoles.xml
+1
-1
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/variables.xml
...ocal_permission_slapos_interaction_workflow/variables.xml
+22
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/worklists.xml
...ocal_permission_slapos_interaction_workflow/worklists.xml
+22
-0
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
...5/slapos_erp5/bt/template_portal_type_workflow_chain_list
+8
-0
master/bt5/slapos_erp5/bt/template_workflow_id_list
master/bt5/slapos_erp5/bt/template_workflow_id_list
+1
-0
master/bt5/vifib_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+0
-32
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Base_setSourceAdministration.xml
...on_workflow/interactions/Base_setSourceAdministration.xml
+0
-3
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Base_updateSaleTradeCondition.xml
...n_workflow/interactions/Base_updateSaleTradeCondition.xml
+0
-1
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/SoftwareInstance_setAggregateList.xml
...rkflow/interactions/SoftwareInstance_setAggregateList.xml
+0
-98
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
master/bt5/vifib_erp5/bt/template_portal_type_workflow_chain_list
...t5/vifib_erp5/bt/template_portal_type_workflow_chain_list
+1
-9
No files found.
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
0 → 100644
View file @
b187e88f
<workflow_chain>
<chain>
<type>
Computer
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Computer Model
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Computer Network
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Hosting Subscription
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Person
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Slave Instance
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Software Installation
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Software Instance
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionWorkflowDefinition"
module=
"Products.ERP5.InteractionWorkflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
creation_guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
local_permission_slapos_interaction_workflow
</string>
</value>
</item>
<item>
<key>
<string>
manager_bypass
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Local Permission SlapOS Interaction Workflow
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Interaction"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_mapping
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
interactions
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/ComputerModel_edit.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ComputerModel_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setSourceAdministration.*
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer Model
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/ComputerNetwork_edit.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ComputerNetwork_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setSourceAdministration.*
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer Network
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/Computer_edit.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Computer_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setReference
</string>
<string>
_setSourceAdministration.*
</string>
<string>
_setAllocationScope.*
</string>
<string>
_setDestinationSection.*
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib
_interaction_workflow/interactions/Computer_reindexObject.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos
_interaction_workflow/interactions/Computer_reindexObject.xml
View file @
b187e88f
...
...
@@ -27,20 +27,20 @@
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<list>
<string>
Base_recursiveReindexObject
</string>
</list>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<tuple/>
<list>
<string>
Base_recursiveReindexObject
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Reindex Computer Partition which acquire local roles from Computer
</string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Hosting%20Subscription
.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/HostingSubscription_edit
.xml
View file @
b187e88f
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Hosting
Subscription
</string>
</value>
<value>
<string>
Hosting
Subscription_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Computer_setAllocationScope
.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/Person_edit
.xml
View file @
b187e88f
...
...
@@ -50,13 +50,13 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Computer_setAllocationScope
</string>
</value>
<value>
<string>
Person_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_set
AllocationScope.*
</string>
<string>
_set
Reference
</string>
</list>
</value>
</item>
...
...
@@ -68,7 +68,7 @@
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer
</string>
<string>
Person
</string>
</list>
</value>
</item>
...
...
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SlaveInstance_edit.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SlaveInstance_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setReference
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Slave Instance
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/SoftwareInstallation_setCategoryLis
t.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstallation_edi
t.xml
View file @
b187e88f
...
...
@@ -27,15 +27,15 @@
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<tuple/>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstallation_
setCategoryLis
t
</string>
</value>
<value>
<string>
SoftwareInstallation_
edi
t
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
...
...
@@ -63,7 +63,7 @@
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
...
...
@@ -76,14 +76,12 @@
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Base_setReference
.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstance_edit
.xml
View file @
b187e88f
...
...
@@ -27,15 +27,15 @@
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<tuple/>
<list>
<string>
Base_updateAllLocalRoles
</string>
</list>
</value>
</item>
<item>
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_setReference
</string>
</value>
<value>
<string>
SoftwareInstance_edit
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
...
...
@@ -68,9 +68,6 @@
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer
</string>
<string>
Person
</string>
<string>
Slave Instance
</string>
<string>
Software Instance
</string>
</list>
</value>
...
...
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interactions/SoftwareInstance_updateComputerPartition.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<list>
<string>
SoftwareInstance_updateComputerPartitionLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_updateComputerPartition
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setAggregate.*
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Software Instance
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Scripts"
module=
"Products.DCWorkflow.Scripts"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_mapping
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
scripts
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib
_interaction_workflow/scripts/Base_recursiveReindexObject.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos
_interaction_workflow/scripts/Base_recursiveReindexObject.xml
View file @
b187e88f
File moved
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/scripts/SaleTradeCondition_updateComputer
LocalRoles.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts/Base_updateAll
LocalRoles.xml
View file @
b187e88f
...
...
@@ -50,21 +50,11 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
sale_trade_condition = state_change[\'object\']\n
\n
for sale_supply_line in sale_trade_condition.contentValues(portal_type="Sale Supply Line"):\n
for computer in sale_supply_line.getAggregateValueList(portal_type="Computer"):\n
tag = \'%s_related_document_reindex\' % computer.getPath()\n
computer.activate(activity=\'SQLQueue\', tag=tag, after_path_and_method_id=(sale_trade_condition.getPath(),\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))\n
).serialize()\n
computer.activate(activity=\'SQLQueue\', tag=tag, after_path_and_method_id=(sale_supply_line.getPath(),\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))\n
).serialize()\n
computer.activate(activity=\'SQLQueue\', tag=tag, after_path_and_method_id=(computer.getPath(),\n
(\'immediateReindexObject\', \'recursiveImmediateReindexObject\'))\n
).serialize()\n
computer.activate(after_tag=tag).updateLocalRolesOnSecurityGroups()\n
<value>
<string>
"""\n
This script updates all local roles on the object. It requires Assignor\n
proxy role since it may be called by owner in draft state.\n
"""\n
state_change[\'object\'].updateLocalRolesOnSecurityGroups()\n
</string>
</value>
</item>
<item>
...
...
@@ -81,7 +71,7 @@ for sale_supply_line in sale_trade_condition.contentValues(portal_type="Sale Sup
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SaleTradeCondition_updateComputer
LocalRoles
</string>
</value>
<value>
<string>
Base_updateAll
LocalRoles
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/
vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/scripts/SoftwareInstance_updateAggregate
LocalRoles.xml
→
master/bt5/
slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/scripts/SoftwareInstance_updateComputerPartition
LocalRoles.xml
View file @
b187e88f
...
...
@@ -71,7 +71,7 @@ for object_ in software_instance.getAggregateValueList(portal_type=portal_type_l
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_update
Aggregate
LocalRoles
</string>
</value>
<value>
<string>
SoftwareInstance_update
ComputerPartition
LocalRoles
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/variables.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Variables"
module=
"Products.DCWorkflow.Variables"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_mapping
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
variables
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/worklists.xml
0 → 100644
View file @
b187e88f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Worklists"
module=
"Products.DCWorkflow.Worklists"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_mapping
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
worklists
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/bt/revision
View file @
b187e88f
16
\ No newline at end of file
17
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
0 → 100644
View file @
b187e88f
Computer Model | local_permission_slapos_interaction_workflow
Computer Network | local_permission_slapos_interaction_workflow
Computer | local_permission_slapos_interaction_workflow
Hosting Subscription | local_permission_slapos_interaction_workflow
Person | local_permission_slapos_interaction_workflow
Slave Instance | local_permission_slapos_interaction_workflow
Software Installation | local_permission_slapos_interaction_workflow
Software Instance | local_permission_slapos_interaction_workflow
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_workflow_id_list
0 → 100644
View file @
b187e88f
local_permission_slapos_interaction_workflow
\ No newline at end of file
master/bt5/vifib_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
b187e88f
<workflow_chain>
<chain>
<type>
Computer
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Computer Model
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Computer Network
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Hosting Subscription
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Internal Packing List
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
...
...
@@ -31,10 +15,6 @@
<type>
Payment Transaction
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Person
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Purchase Packing List
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
...
...
@@ -67,16 +47,4 @@
<type>
Sale Trade Condition Module
</type>
<workflow>
init_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Slave Instance
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Software Installation
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
<chain>
<type>
Software Instance
</type>
<workflow>
local_permission_vifib_interaction_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Base_setSourceAdministration.xml
View file @
b187e88f
...
...
@@ -68,9 +68,6 @@
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Computer
</string>
<string>
Computer Model
</string>
<string>
Computer Network
</string>
<string>
Internal Packing List
</string>
<string>
Purchase Packing List
</string>
</list>
...
...
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/Base_updateSaleTradeCondition.xml
View file @
b187e88f
...
...
@@ -35,7 +35,6 @@
<value>
<list>
<string>
Base_updateAllLocalRoles
</string>
<string>
SaleTradeCondition_updateComputerLocalRoles
</string>
</list>
</value>
</item>
...
...
master/bt5/vifib_erp5/WorkflowTemplateItem/portal_workflow/local_permission_vifib_interaction_workflow/interactions/SoftwareInstance_setAggregateList.xml
deleted
100644 → 0
View file @
311b705f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"InteractionDefinition"
module=
"Products.ERP5.Interaction"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
actbox_category
</string>
</key>
<value>
<string>
workflow
</string>
</value>
</item>
<item>
<key>
<string>
actbox_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
actbox_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
activate_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
after_script_name
</string>
</key>
<value>
<list>
<string>
SoftwareInstance_updateAggregateLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
before_commit_script_name
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
guard
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_setAggregateList
</string>
</value>
</item>
<item>
<key>
<string>
method_id
</string>
</key>
<value>
<list>
<string>
_setAggregate.*
</string>
</list>
</value>
</item>
<item>
<key>
<string>
once_per_transaction
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<list>
<string>
Software Instance
</string>
</list>
</value>
</item>
<item>
<key>
<string>
script_name
</string>
</key>
<value>
<list>
<string>
SoftwareInstance_updateAggregateLocalRoles
</string>
</list>
</value>
</item>
<item>
<key>
<string>
temporary_document_disallowed
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_erp5/bt/revision
View file @
b187e88f
523
\ No newline at end of file
524
\ No newline at end of file
master/bt5/vifib_erp5/bt/template_portal_type_workflow_chain_list
View file @
b187e88f
Computer Model | local_permission_vifib_interaction_workflow
Computer Network | local_permission_vifib_interaction_workflow
Computer | local_permission_vifib_interaction_workflow
Hosting Subscription | local_permission_vifib_interaction_workflow
Internal Packing List | local_permission_vifib_interaction_workflow
Open Sale Order Module | init_vifib_interaction_workflow
Open Sale Order | local_permission_vifib_interaction_workflow
Payment Transaction | local_permission_vifib_interaction_workflow
Person | local_permission_vifib_interaction_workflow
Purchase Packing List | local_permission_vifib_interaction_workflow
Sale Invoice Transaction | local_permission_vifib_interaction_workflow
Sale Order Line | local_permission_vifib_interaction_workflow
...
...
@@ -14,7 +9,4 @@ Sale Order | local_permission_vifib_interaction_workflow
Sale Packing List Line | local_permission_vifib_interaction_workflow
Sale Packing List | local_permission_vifib_interaction_workflow
Sale Trade Condition Module | init_vifib_interaction_workflow
Sale Trade Condition | local_permission_vifib_interaction_workflow
Slave Instance | local_permission_vifib_interaction_workflow
Software Installation | local_permission_vifib_interaction_workflow
Software Instance | local_permission_vifib_interaction_workflow
\ No newline at end of file
Sale Trade Condition | local_permission_vifib_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