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
0e029f0a
Commit
0e029f0a
authored
May 04, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: give read|write permission to accounting/sale on person/project
parent
2ee1f418
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
4 deletions
+86
-4
master/bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
.../bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
+12
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
+10
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
...apos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
+12
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
...er/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
+22
-4
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
...pos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
+12
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project.xml
...r/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project.xml
+18
-0
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/person_module.xml
View file @
0e029f0a
<local_roles_item>
<local_roles>
<role
id=
'F-ACCOUNTING*'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'F-CUSTOMER'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-PRODUCTION*'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-SALE*'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
<item>
Auditor
</item>
</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>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Author
</principal>
</local_role_group_id>
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
...
...
master/bt5/slapos_erp5/LocalRolesTemplateItem/project_module.xml
View file @
0e029f0a
<local_roles_item>
<local_roles>
<role
id=
'F-ACCOUNTING*'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-CUSTOMER'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-PRODUCTION*'
>
<item>
Auditor
</item>
</role>
<role
id=
'F-SALE*'
>
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-COMPUTER'
>
<item>
Auditor
</item>
</role>
...
...
@@ -18,7 +25,10 @@
<principal
id=
'R-COMPUTER'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'function'
>
<principal
id=
'F-ACCOUNTING*'
>
Auditor
</principal>
<principal
id=
'F-CUSTOMER'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Auditor
</principal>
<principal
id=
'F-SALE*'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person%20Module.xml
View file @
0e029f0a
<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>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Member
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
...
...
@@ -16,4 +22,10 @@
<multi_property
id=
'category'
>
function/production*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Sale
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Person.xml
View file @
0e029f0a
<type_roles>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Accountant Agent
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/accounting/agent
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Assignor'
>
<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'
>
Accountant Manager
</property>
<multi_property
id=
'categories'
>
local_role_group/
function
</multi_property>
<multi_property
id=
'category'
>
function/accounting/manager
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Member can see each other
</property>
...
...
@@ -11,6 +17,18 @@
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
</role>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Sale Agent
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/agent
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Sale Manager
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/manager
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
The Shadow User Himself
</property>
<property
id=
'description'
>
Monovalued role
</property>
...
...
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project%20Module.xml
View file @
0e029f0a
<type_roles>
<role
id=
'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>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Compute Node
</property>
<multi_property
id=
'categories'
>
local_role_group/computer
</multi_property>
...
...
@@ -21,4 +27,10 @@
<multi_property
id=
'category'
>
function/production*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Author; Auditor'
>
<property
id=
'title'
>
Sale
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale*
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Project.xml
View file @
0e029f0a
<type_roles>
<role
id=
'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>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Project Member
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromSelf
</property>
<multi_property
id=
'categories'
>
local_role_group/project
</multi_property>
<multi_property
id=
'base_category'
>
destination_project
</multi_property>
</role>
<role
id=
'Assignee'
>
<property
id=
'title'
>
Sale Agent
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/agent
</multi_property>
<multi_property
id=
'base_category'
>
function
</multi_property>
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Sale Manager
</property>
<multi_property
id=
'categories'
>
local_role_group/function
</multi_property>
<multi_property
id=
'category'
>
function/sale/manager
</multi_property>
<multi_property
id=
'base_category'
>
function
</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