Project

General

Profile

Actions

Bug #86882

closed

TSConfig "options.contextMenu.table.pages.tree.disableItems" not working

Added by Daniel Kary about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #84993: Deprecate BackendUserAuthentication ->getTSConfigVal() and ->getTSConfigProp()Closed2018-05-13

Actions
Actions

Also available in: Atom PDF