Bug #76535
closedLive-Search is bound to the module "Web -> List"
0%
Description
While testing and reviewing #76432 using the introduction package, the following error occured:
Given you work as a simple editor and using the live search, the backend looks broken after clicking "Show all".
At first sight it looks like a javascript error in the console
Cannot read property 'indexOf' of undefined (modulemenu.js line 190).
But the reason is, that the "Simple Editor" has no access right to the module "Web -> List".
Just removing the button "Show all" and just displaying the results is no solution either. A click on a content element or any other result opens it in edit mode. But after closing it, the editor gets the error message "Access Error: You don't have access to this module. ... which is right, because he is still in the context of "Web => List".
Just taking another existing module like "Web->Page" is not a solution, but there will be editors out in the wild who have only access to third party modules like "News".
A possible solution may be to create a new backend extension "search" which includes the live search stuff and inherits al necessary parts of the functionality of the list module. If a user gets permission for the search, the live search is displayed and results are displayed. Displaying a seperate search module as "Web => Search" could be configurable.
This issue can be reproduced in TYPO3 7LTS and master.