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
17f1466b
Commit
17f1466b
authored
Mar 17, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: improve Role Definition consistency
parent
5de8b953
Changes
32
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
79 additions
and
0 deletions
+79
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
.../slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
+1
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/allocation_supply_module.xml
..._erp5/LocalRolesTemplateItem/allocation_supply_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/compute_node_module.xml
...lapos_erp5/LocalRolesTemplateItem/compute_node_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
...t5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
+1
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/hosting_subscription_module.xml
...p5/LocalRolesTemplateItem/hosting_subscription_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/instance_tree_module.xml
...apos_erp5/LocalRolesTemplateItem/instance_tree_module.xml
+4
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
.../bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/regularisation_request_module.xml
.../LocalRolesTemplateItem/regularisation_request_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_supply_module.xml
...slapos_erp5/LocalRolesTemplateItem/sale_supply_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/service_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/service_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_installation_module.xml
...5/LocalRolesTemplateItem/software_installation_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_instance_module.xml
..._erp5/LocalRolesTemplateItem/software_instance_module.xml
+4
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_product_module.xml
...s_erp5/LocalRolesTemplateItem/software_product_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/support_request_module.xml
...os_erp5/LocalRolesTemplateItem/support_request_module.xml
+6
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/upgrade_decision_module.xml
...s_erp5/LocalRolesTemplateItem/upgrade_decision_module.xml
+5
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Accounting%20Transaction%20Module.xml
...peRolesTemplateItem/Accounting%20Transaction%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Allocation%20Supply%20Module.xml
...talTypeRolesTemplateItem/Allocation%20Supply%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Compute%20Node%20Module.xml
...5/PortalTypeRolesTemplateItem/Compute%20Node%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Currency%20Module.xml
...os_erp5/PortalTypeRolesTemplateItem/Currency%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
...TypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Instance%20Tree%20Module.xml
.../PortalTypeRolesTemplateItem/Instance%20Tree%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
...apos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
...pos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Regularisation%20Request%20Module.xml
...peRolesTemplateItem/Regularisation%20Request%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Supply%20Module.xml
...p5/PortalTypeRolesTemplateItem/Sale%20Supply%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Service%20Module.xml
...pos_erp5/PortalTypeRolesTemplateItem/Service%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation%20Module.xml
...ypeRolesTemplateItem/Software%20Installation%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Instance%20Module.xml
...talTypeRolesTemplateItem/Software%20Instance%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Product%20Module.xml
...rtalTypeRolesTemplateItem/Software%20Product%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Support%20Request%20Module.xml
...ortalTypeRolesTemplateItem/Support%20Request%20Module.xml
+1
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Upgrade%20Decision%20Module.xml
...rtalTypeRolesTemplateItem/Upgrade%20Decision%20Module.xml
+1
-0
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
View file @
17f1466b
...
...
@@ -18,6 +18,7 @@
<local_role_group_id
id=
'function'
>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'F-ACCOUNTING*'
>
Author
</principal>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Assignor
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/allocation_supply_module.xml
View file @
17f1466b
...
...
@@ -8,4 +8,9 @@
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/compute_node_module.xml
View file @
17f1466b
...
...
@@ -18,5 +18,8 @@
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
View file @
17f1466b
...
...
@@ -18,6 +18,7 @@
<local_role_group_id
id=
'function'
>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'F-ACCOUNTING*'
>
Author
</principal>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/hosting_subscription_module.xml
View file @
17f1466b
...
...
@@ -7,4 +7,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/instance_tree_module.xml
View file @
17f1466b
...
...
@@ -18,5 +18,9 @@
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<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/LocalRolesTemplateItem/person_module.xml
View file @
17f1466b
...
...
@@ -11,6 +11,9 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
View file @
17f1466b
...
...
@@ -17,5 +17,8 @@
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/regularisation_request_module.xml
View file @
17f1466b
...
...
@@ -7,4 +7,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/sale_supply_module.xml
View file @
17f1466b
...
...
@@ -8,4 +8,9 @@
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/service_module.xml
View file @
17f1466b
...
...
@@ -7,4 +7,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_installation_module.xml
View file @
17f1466b
...
...
@@ -15,5 +15,8 @@
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_instance_module.xml
View file @
17f1466b
...
...
@@ -19,5 +19,9 @@
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<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/LocalRolesTemplateItem/software_product_module.xml
View file @
17f1466b
...
...
@@ -8,4 +8,9 @@
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/support_request_module.xml
View file @
17f1466b
...
...
@@ -9,4 +9,10 @@
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<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/LocalRolesTemplateItem/upgrade_decision_module.xml
View file @
17f1466b
...
...
@@ -7,4 +7,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Accounting%20Transaction%20Module.xml
View file @
17f1466b
...
...
@@ -7,6 +7,7 @@
</role>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Allocation%20Supply%20Module.xml
View file @
17f1466b
<type_roles>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Compute%20Node%20Module.xml
View file @
17f1466b
...
...
@@ -12,6 +12,7 @@
</role>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Currency%20Module.xml
View file @
17f1466b
...
...
@@ -7,6 +7,7 @@
</role>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Hosting%20Subscription%20Module.xml
View file @
17f1466b
<type_roles>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Instance%20Tree%20Module.xml
View file @
17f1466b
...
...
@@ -17,6 +17,7 @@
</role>
<role
id=
'Auditor; Author'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
View file @
17f1466b
<type_roles>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
View file @
17f1466b
...
...
@@ -12,6 +12,7 @@
</role>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Regularisation%20Request%20Module.xml
View file @
17f1466b
...
...
@@ -6,6 +6,7 @@
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Sale%20Supply%20Module.xml
View file @
17f1466b
<type_roles>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Service%20Module.xml
View file @
17f1466b
...
...
@@ -8,6 +8,7 @@ add local roles group</property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Installation%20Module.xml
View file @
17f1466b
...
...
@@ -7,6 +7,7 @@
</role>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Instance%20Module.xml
View file @
17f1466b
...
...
@@ -17,6 +17,7 @@
</role>
<role
id=
'Auditor; Author'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Product%20Module.xml
View file @
17f1466b
<type_roles>
<role
id=
'Auditor'
>
<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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Support%20Request%20Module.xml
View file @
17f1466b
...
...
@@ -6,6 +6,7 @@
</role>
<role
id=
'Auditor; Author'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Upgrade%20Decision%20Module.xml
View file @
17f1466b
...
...
@@ -6,6 +6,7 @@
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Customer
</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>
...
...
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