Commit d36c9fc0 authored by Jérome Perrin's avatar Jérome Perrin

core: Show "Diff Object" / "Diff Module Objects" only to manager

these actions are not ready to be used by end users
parent 10a15fb4
Pipeline #11435 failed with stage
in 0 seconds
......@@ -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'},
......
......@@ -38,7 +38,7 @@
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
<string>Manage portal</string>
</tuple>
</value>
</item>
......
......@@ -38,7 +38,7 @@
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
<string>Manage portal</string>
</tuple>
</value>
</item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment