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
0
Merge Requests
0
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
Léo-Paul Géneau
slapos.core
Commits
088ae63e
Commit
088ae63e
authored
Feb 11, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Clean up security
parent
c7e7347f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
76 deletions
+24
-76
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
...bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
+0
-6
master/bt5/slapos_erp5/LocalRolesTemplateItem/data_set_module.xml
...t5/slapos_erp5/LocalRolesTemplateItem/data_set_module.xml
+0
-14
master/bt5/slapos_erp5/LocalRolesTemplateItem/document_module.xml
...t5/slapos_erp5/LocalRolesTemplateItem/document_module.xml
+0
-14
master/bt5/slapos_erp5/LocalRolesTemplateItem/image_module.xml
...r/bt5/slapos_erp5/LocalRolesTemplateItem/image_module.xml
+0
-14
master/bt5/slapos_erp5/LocalRolesTemplateItem/invitation_token_module.xml
...s_erp5/LocalRolesTemplateItem/invitation_token_module.xml
+14
-0
master/bt5/slapos_erp5/LocalRolesTemplateItem/portal_contributions.xml
...apos_erp5/LocalRolesTemplateItem/portal_contributions.xml
+0
-14
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Contract%20Invitation%20Token.xml
...alTypeRolesTemplateItem/Contract%20Invitation%20Token.xml
+8
-0
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Contribution%20Tool.xml
..._erp5/PortalTypeRolesTemplateItem/Contribution%20Tool.xml
+0
-7
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/File.xml
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/File.xml
+0
-7
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
+1
-0
No files found.
master/bt5/slapos_erp5/LocalRolesTemplateItem/account_module.xml
View file @
088ae63e
...
...
@@ -4,9 +4,6 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<item>
Auditor
</item>
</role>
<role
id=
'R-SHADOW-PERSON'
>
<item>
Auditor
</item>
</role>
...
...
@@ -19,8 +16,5 @@
<local_role_group_id
id=
'shadow'
>
<principal
id=
'R-SHADOW-PERSON'
>
Auditor
</principal>
</local_role_group_id>
<local_role_group_id
id=
'user'
>
<principal
id=
'R-MEMBER'
>
Auditor
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/data_set_module.xml
View file @
088ae63e
...
...
@@ -4,25 +4,11 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-COMPUTER'
>
<item>
Author
</item>
</role>
<role
id=
'R-INSTANCE'
>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<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-COMPUTER'
>
Author
</principal>
<principal
id=
'R-INSTANCE'
>
Author
</principal>
<principal
id=
'R-MEMBER'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/document_module.xml
View file @
088ae63e
...
...
@@ -4,25 +4,11 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-COMPUTER'
>
<item>
Author
</item>
</role>
<role
id=
'R-INSTANCE'
>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<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-COMPUTER'
>
Author
</principal>
<principal
id=
'R-INSTANCE'
>
Author
</principal>
<principal
id=
'R-MEMBER'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/image_module.xml
View file @
088ae63e
...
...
@@ -4,25 +4,11 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-COMPUTER'
>
<item>
Author
</item>
</role>
<role
id=
'R-INSTANCE'
>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<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-COMPUTER'
>
Author
</principal>
<principal
id=
'R-INSTANCE'
>
Author
</principal>
<principal
id=
'R-MEMBER'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/invitation_token_module.xml
0 → 100644
View file @
088ae63e
<local_roles_item>
<local_roles>
<role
id=
'G-COMPANY'
>
<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_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/LocalRolesTemplateItem/portal_contributions.xml
View file @
088ae63e
...
...
@@ -4,25 +4,11 @@
<item>
Auditor
</item>
<item>
Author
</item>
</role>
<role
id=
'R-COMPUTER'
>
<item>
Author
</item>
</role>
<role
id=
'R-INSTANCE'
>
<item>
Author
</item>
</role>
<role
id=
'R-MEMBER'
>
<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-COMPUTER'
>
Author
</principal>
<principal
id=
'R-INSTANCE'
>
Author
</principal>
<principal
id=
'R-MEMBER'
>
Author
</principal>
</local_role_group_id>
</local_role_group_ids>
</local_roles_item>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Contract%20Invitation%20Token.xml
0 → 100644
View file @
088ae63e
<type_roles>
<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>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/Contribution%20Tool.xml
View file @
088ae63e
...
...
@@ -5,11 +5,4 @@
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Author'
>
<property
id=
'title'
>
Security for Shacache (Author)
</property>
<multi_property
id=
'categories'
>
local_role_group/user
</multi_property>
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'category'
>
role/instance
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/PortalTypeRolesTemplateItem/File.xml
View file @
088ae63e
...
...
@@ -5,11 +5,4 @@
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Shacache Security (Auditor)
</property>
<property
id=
'description'
>
Any user which has a valid assignment where the role is instance must have Auditor role.
</property>
<multi_property
id=
'category'
>
role/computer
</multi_property>
<multi_property
id=
'category'
>
role/member
</multi_property>
<multi_property
id=
'category'
>
role/instance
</multi_property>
</role>
</type_roles>
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_local_role_list
View file @
088ae63e
...
...
@@ -41,6 +41,7 @@ event_module/slapos_crm_web_message_template
hosting_subscription_module
image_module
inventory_module
invitation_token_module
knowledge_pad_module
meeting_module
notification_message_module
...
...
master/bt5/slapos_erp5/bt/template_portal_type_role_list
View file @
088ae63e
...
...
@@ -27,6 +27,7 @@ Computer Network
Computer Network Module
Computer Partition
Consumption Document Module
Contract Invitation Token
Contribution Tool
Credential Update Module
Credit Card
...
...
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