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
4fb2c4d9
Commit
4fb2c4d9
authored
Jun 30, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: provide access to function/production on event module
parent
311b0ede
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
142 additions
and
67 deletions
+142
-67
master/bt5/slapos_erp5/LocalRolesTemplateItem/event_module.xml
...r/bt5/slapos_erp5/LocalRolesTemplateItem/event_module.xml
+5
-9
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Acknowledgement.xml
...apos_erp5/PortalTypeRolesTemplateItem/Acknowledgement.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Event%20Module.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Event%20Module.xml
+7
-8
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Fax%20Message.xml
...slapos_erp5/PortalTypeRolesTemplateItem/Fax%20Message.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Letter.xml
...er/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Letter.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Mail%20Message.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Mail%20Message.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Note.xml
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Note.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Phone%20Call.xml
.../slapos_erp5/PortalTypeRolesTemplateItem/Phone%20Call.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Short%20Message.xml
...apos_erp5/PortalTypeRolesTemplateItem/Short%20Message.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Site%20Message.xml
...lapos_erp5/PortalTypeRolesTemplateItem/Site%20Message.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Visit.xml
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Visit.xml
+13
-5
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Web%20Message.xml
...slapos_erp5/PortalTypeRolesTemplateItem/Web%20Message.xml
+13
-5
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/event_module.xml
View file @
4fb2c4d9
<local_roles_item>
<local_roles>
<role
id=
'
G-COMPANY
'
>
<role
id=
'
F-CUSTOMER
'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'
R-MEMBER
'
>
<role
id=
'
F-PRODUCTION*
'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
</local_role_group_id>
<local_role_group_id
id=
'user'
>
<principal
id=
'R-MEMBER'
>
Auditor
</principal>
<principal
id=
'R-MEMBER'
>
Author
</principal>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
<principal
id=
'F-CUSTOMER'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Acknowledgement.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Event%20Module.xml
View file @
4fb2c4d9
<type_roles>
<role
id=
'Auditor; Author'
>
<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>
<property
id=
'title'
>
Member
</property>
<multi_property
id=
'categories'
>
local_role_group/
function
</multi_property>
<multi_property
id=
'category'
>
function/customer
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor; Author'
>
<property
id=
'title'
>
Member
</property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
<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/Fax%20Message.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Letter.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Mail%20Message.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Note.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Phone%20Call.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Short%20Message.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Site%20Message.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Visit.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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/PortalTypeRolesTemplateItem/Web%20Message.xml
View file @
4fb2c4d9
...
...
@@ -15,12 +15,20 @@
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'base_category'
>
source
</multi_property>
</role>
<role
id=
'Assignee'
>
<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=
'Assignor'
>
<property
id=
'title'
>
Project
Compute Node
Manager
</property>
<property
id=
'description'
>
XXX
project
local role group
</property>
<property
id=
'condition'
>
python: context.get
SourceProject("", portal_type='Project'
) != ""
</property>
<property
id=
'title'
>
Project
Production
Manager
</property>
<property
id=
'description'
>
XXX
add
local role group
</property>
<property
id=
'condition'
>
python: context.get
FollowUp(""
) != ""
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'category'
>
function/
computer
/manager
</multi_property>
<multi_property
id=
'base_category'
>
source_project
</multi_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
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