Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
erp5
Commits
06a7737f
Commit
06a7737f
authored
Sep 09, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: Show "Diff Object" / "Diff Module Objects" only to manager
these actions are not ready to be used by end users
parent
c91f40e1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testERP5Core.py
...tTemplateItem/portal_components/test.erp5.testERP5Core.py
+0
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/diff_multiple_object_action.xml
...rtal_types/portal_actions/diff_multiple_object_action.xml
+1
-1
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/diff_object_action.xml
...teItem/portal_types/portal_actions/diff_object_action.xml
+1
-1
No files found.
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testERP5Core.py
View file @
06a7737f
...
@@ -264,7 +264,6 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -264,7 +264,6 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected
=
{
'folder'
:
[],
expected
=
{
'folder'
:
[],
'global'
:
[],
'global'
:
[],
'object'
:
[],
'object'
:
[],
'object_action'
:
[{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'title'
:
'View Historical Comparison'
},
'title'
:
'View Historical Comparison'
},
...
@@ -286,7 +285,6 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -286,7 +285,6 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected
=
{
'folder'
:
[],
expected
=
{
'folder'
:
[],
'global'
:
[],
'global'
:
[],
'object'
:
[],
'object'
:
[],
'object_action'
:
[{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'title'
:
'View Historical Comparison'
},
'title'
:
'View Historical Comparison'
},
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/diff_multiple_object_action.xml
View file @
06a7737f
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<key>
<string>
permissions
</string>
</key>
<key>
<string>
permissions
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
View
</string>
<string>
Manage portal
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/diff_object_action.xml
View file @
06a7737f
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<key>
<string>
permissions
</string>
</key>
<key>
<string>
permissions
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
View
</string>
<string>
Manage portal
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
...
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