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
a5d59cc7
Commit
a5d59cc7
authored
Mar 17, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: improve consistency in the Role Definition
parent
0bf2cc82
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
37 additions
and
0 deletions
+37
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
.../slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
+4
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/consumption_document_module.xml
...p5/LocalRolesTemplateItem/consumption_document_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
...t5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
+4
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/instance_tree_module.xml
...apos_erp5/LocalRolesTemplateItem/instance_tree_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/organisation_module.xml
...lapos_erp5/LocalRolesTemplateItem/organisation_module.xml
+3
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
+5
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/software_instance_module.xml
..._erp5/LocalRolesTemplateItem/software_instance_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/Consumption%20Document%20Module.xml
...TypeRolesTemplateItem/Consumption%20Document%20Module.xml
+2
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Currency%20Module.xml
...os_erp5/PortalTypeRolesTemplateItem/Currency%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/Organisation%20Module.xml
...rp5/PortalTypeRolesTemplateItem/Organisation%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/Software%20Instance%20Module.xml
...talTypeRolesTemplateItem/Software%20Instance%20Module.xml
+1
-0
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/accounting_module.xml
View file @
a5d59cc7
...
...
@@ -15,6 +15,10 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'F-ACCOUNTING*'
>
Author
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Assignor
</principal>
</local_role_group_id>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/consumption_document_module.xml
View file @
a5d59cc7
...
...
@@ -13,6 +13,9 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Author
</principal>
</local_role_group_id>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/currency_module.xml
View file @
a5d59cc7
...
...
@@ -15,6 +15,10 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'F-ACCOUNTING*'
>
Author
</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/instance_tree_module.xml
View file @
a5d59cc7
...
...
@@ -14,4 +14,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/organisation_module.xml
View file @
a5d59cc7
...
...
@@ -16,6 +16,9 @@
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'group'
>
<principal
id=
'G-COMPANY'
>
Auditor
</principal>
<principal
id=
'G-COMPANY'
>
Author
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
View file @
a5d59cc7
...
...
@@ -13,4 +13,9 @@
<item>
Auditor
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
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 @
a5d59cc7
...
...
@@ -15,4 +15,9 @@
<item>
Author
</item>
</role>
</local_roles>
<local_role_group_ids>
<local_role_group_id
id=
'computer'
>
<principal
id=
'R-COMPUTER'
>
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 @
a5d59cc7
<type_roles>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Accountant
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/accounting*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Consumption%20Document%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Author'
>
<property
id=
'title'
>
Compute Node reports consumption
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Group company
</property>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Currency%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Accountant
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/accounting*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Instance%20Tree%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Compute Node
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Organisation%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Compute Node
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Compute Node
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'base_category'
>
role
</multi_property>
</role>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Software%20Instance%20Module.xml
View file @
a5d59cc7
<type_roles>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Compute Node
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'base_category'
>
role
</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