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
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
Romain Courteaud
slapos.core
Commits
a2821403
Commit
a2821403
authored
Nov 16, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Hosting Subscription roles
parent
0ed5b6f9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
120 additions
and
0 deletions
+120
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/hosting_subscription_module.xml
...p5/LocalRolesTemplateItem/hosting_subscription_module.xml
+10
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
...TypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
+12
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription.xml
...p5/PortalTypeRolesTemplateItem/Hosting%20Subscription.xml
+18
-0
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+4
-0
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interaction_HostingSubscription_edit.xml
...raction_workflow/interaction_HostingSubscription_edit.xml
+72
-0
master/bt5/slapos_erp5/bt/template_local_role_list
master/bt5/slapos_erp5/bt/template_local_role_list
+1
-0
master/bt5/slapos_erp5/bt/template_portal_type_role_list
master/bt5/slapos_erp5/bt/template_portal_type_role_list
+2
-0
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
...5/slapos_erp5/bt/template_portal_type_workflow_chain_list
+1
-0
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/hosting_subscription_module.xml
0 → 100644
View file @
a2821403
<local_roles_item>
<local_roles>
<role
id=
'F-CUSTOMER'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-PRODUCTION*'
>
<item>
Auditor
</item>
</role>
</local_roles>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
0 → 100644
View file @
a2821403
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Member
</property>
<multi_property
id=
'category'
>
function/customer
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Production
</property>
<multi_property
id=
'category'
>
function/production*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription.xml
0 → 100644
View file @
a2821403
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Production Agent
</property>
<property
id=
'description'
>
XXX add local role group
</property>
<property
id=
'condition'
>
python: context.getFollowUp("") != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/production/agent
</multi_property>
<multi_property
id=
'base_category'
>
follow_up
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Production Manager
</property>
<property
id=
'description'
>
XXX add local role group
</property>
<property
id=
'condition'
>
python: context.getFollowUp("") != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/production/manager
</multi_property>
<multi_property
id=
'base_category'
>
follow_up
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
View file @
a2821403
...
@@ -31,6 +31,10 @@
...
@@ -31,6 +31,10 @@
<type>
Delivery Cell
</type>
<type>
Delivery Cell
</type>
<workflow>
-immobilisation_movement_interaction_workflow
</workflow>
<workflow>
-immobilisation_movement_interaction_workflow
</workflow>
</chain>
</chain>
<chain>
<type>
Hosting Subscription
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
</chain>
<chain>
<chain>
<type>
Instance Node
</type>
<type>
Instance Node
</type>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
<workflow>
local_permission_slapos_interaction_workflow
</workflow>
...
...
master/bt5/slapos_erp5/WorkflowTemplateItem/portal_workflow/local_permission_slapos_interaction_workflow/interaction_HostingSubscription_edit.xml
0 → 100644
View file @
a2821403
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Interaction Workflow Interaction"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
after_script/portal_workflow/local_permission_slapos_interaction_workflow/script_Base_updateAllLocalRoles
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
interaction_HostingSubscription_edit
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Interaction Workflow Interaction
</string>
</value>
</item>
<item>
<key>
<string>
portal_type_filter
</string>
</key>
<value>
<tuple>
<string>
Hosting Subscription
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type_group_filter
</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>
HostingSubscription_edit
</string>
</value>
</item>
<item>
<key>
<string>
trigger_method_id
</string>
</key>
<value>
<tuple>
<string>
_setFollowUp.*
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
trigger_once_per_transaction
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
trigger_type
</string>
</key>
<value>
<int>
2
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/bt/template_local_role_list
View file @
a2821403
...
@@ -39,6 +39,7 @@ document_ingestion_module
...
@@ -39,6 +39,7 @@ document_ingestion_module
document_module
document_module
event_module
event_module
event_module/slapos_crm_web_message_template
event_module/slapos_crm_web_message_template
hosting_subscription_module
incident_response_module
incident_response_module
instance_tree_module
instance_tree_module
invitation_token_module
invitation_token_module
...
...
master/bt5/slapos_erp5/bt/template_portal_type_role_list
View file @
a2821403
...
@@ -39,6 +39,8 @@ Event Module
...
@@ -39,6 +39,8 @@ Event Module
Facebook Login
Facebook Login
Fax Message
Fax Message
Google Login
Google Login
Hosting Subscription
Hosting Subscription Module
Incident Response
Incident Response
Incident Response Module
Incident Response Module
Instance Node
Instance Node
...
...
master/bt5/slapos_erp5/bt/template_portal_type_workflow_chain_list
View file @
a2821403
...
@@ -8,6 +8,7 @@ Computer Network | local_permission_slapos_interaction_workflow
...
@@ -8,6 +8,7 @@ Computer Network | local_permission_slapos_interaction_workflow
Contract Invitation Token | edit_workflow
Contract Invitation Token | edit_workflow
Contract Invitation Token | validation_workflow
Contract Invitation Token | validation_workflow
Delivery Cell | -immobilisation_movement_interaction_workflow
Delivery Cell | -immobilisation_movement_interaction_workflow
Hosting Subscription | local_permission_slapos_interaction_workflow
Instance Node | local_permission_slapos_interaction_workflow
Instance Node | local_permission_slapos_interaction_workflow
Instance Tree | local_permission_slapos_interaction_workflow
Instance Tree | local_permission_slapos_interaction_workflow
Integration Site | local_permission_slapos_interaction_workflow
Integration Site | local_permission_slapos_interaction_workflow
...
...
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