Bug #86882

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

Added by Daniel Kary 8 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2018-11-08
Due date:
% Done:

100%

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

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

Associated revisions

Revision a445cca6 (diff)
Added by Georg Ringer 8 months ago

[BUGFIX] Detect proper TsConfig for blinding settings in tree provider

Due the refactoring with #84993 the tsconfig coulnd't be loaded correctly if
a subarray must be accessed.

Resolves: #86882
Releases: master
Change-Id: Ie4450d77889d260a1d29f728ce3d0216736bb15a
Reviewed-on: https://review.typo3.org/58871
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Georg Ringer 8 months ago

  • Category changed from Pagetree to Backend API
  • Status changed from New to Accepted
  • Assignee set to Georg Ringer
  • Is Regression set to Yes

thanks for the patch. has been confirmed and is a regression of #84993

#2 Updated by Georg Ringer 8 months ago

  • Related to Task #84993: Deprecate BackendUserAuthentication ->getTSConfigVal() and ->getTSConfigProp() added

#3 Updated by Gerrit Code Review 8 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58871

#4 Updated by Georg Ringer 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#5 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF