Actions
Bug #82755
closedMenuProcessor does not allow showAccessRestrictedPages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2017-10-13
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
On TYPO3 8.7.8, menus created using the MenuProcessor (TYPO3\CMS\Frontend\DataProcessing\MenuProcessor) do not show pages that have restricted access by default.
A simple solution to be able to configure this would be to make it accept the "showAccessRestrictedPages" property, which is currently not allowed and gives an error message if used.
Example with the added property :
10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
10 {
special = list
special.value.field = pages
levels = 7
as = menu
expandAll = 1
includeSpacer = 1
titleField = nav_title // title
showAccessRestrictedPages = 123
showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = media
}
}
}
Files
Actions