Commit 4688014c authored by Jochen Roth's avatar Jochen Roth Committed by Oliver Bartsch
Browse files

[BUGFIX] Hide inline edit title button when user has no permissions

Currently the inline edit button is shown even though a
user does not have necessary edit permissions.

This has been fixed by adding the necessary checks.

As a side effect, the corresponding t3js class is no
longer added to the header for modules, not representing
an editable record title.

Resolves: #96030
Releases: master, 11.5
Change-Id: I630e97263a950cf00229ce0613e2c4d35a11425e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72233

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent b7374710
Pipeline #19844 passed with stages
in 52 minutes and 46 seconds