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
Labels
Merge Requests
139
Merge Requests
139
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
06a7737f
Commit
06a7737f
authored
Sep 09, 2020
by
Jérome Perrin
1
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
Hide 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):
expected
=
{
'folder'
:
[],
'global'
:
[],
'object'
:
[],
'object_action'
:
[{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_hidden'
:
[{
'id'
:
'view_historical_comparison'
,
'title'
:
'View Historical Comparison'
},
...
...
@@ -286,7 +285,6 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
expected
=
{
'folder'
:
[],
'global'
:
[],
'object'
:
[],
'object_action'
:
[{
'id'
:
'diff_object_action'
,
'title'
:
'Diff Object'
}],
'object_exchange'
:
[{
'id'
:
'csv_export'
,
'title'
:
'Export Csv File'
}],
# erp5_csv_style
'object_hidden'
:
[{
'id'
:
'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 @@
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
<string>
Manage portal
</string>
</tuple>
</value>
</item>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/portal_actions/diff_object_action.xml
View file @
06a7737f
...
...
@@ -38,7 +38,7 @@
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
<string>
Manage portal
</string>
</tuple>
</value>
</item>
...
...
Jérome Perrin
@jerome
mentioned in commit
e7c4e387
·
Oct 22, 2020
mentioned in commit
e7c4e387
mentioned in commit e7c4e3874a3d041e1b22d32a20daea5af25e6a00
Toggle commit list
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