Actions
Bug #86882
closedTSConfig "options.contextMenu.table.pages.tree.disableItems" not working
Start date:
2018-11-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
User TSConfig, Pagetree
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The user TSConfig option "options.contextMenu.table.pages.tree.disableItems" is not working on TYPO3 9.5.1.
https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Examples/ContextualMenu/Index.html#disabling-context-menu-items-from-tsconfig
To reproduce
1# create an editor BE user
2# add to its USER TSConfig:
options.contextMenu.table.pages.tree.disableItems = edit,new
this should remove edit and new from the context menu of the pagetree
3# switch user
Result
the context menu in pagetree still has the edit and new elements.
Actions