Bug #97768
closedTYPO3 10.4.29 regression in Admin Tools
100%
Description
The new function
public function hasActiveBackendUserRoleAndSession(): bool TYPO3\CMS\Install\Service\SessionService
introduces a regression if you have no system maintainer configured. According to the documentation
"If no system maintainer is set up, then all administrators are assigned the system maintainer role."
The following statement fails:
$systemMaintainers = array_map('intval', $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers'] ?? []); // stop here, in case the current admin tool session does not belong to a backend user having admin & maintainer privileges if (!$isAdmin || !in_array((int)$backendUserRecord['uid'], $systemMaintainers, true)) { return false; }
Updated by Oliver Hader over 2 years ago
- Subject changed from TYPO3 10.4.30 introduces an regression to TYPO3 10.4.29 introduces an regression
Updated by Oliver Hader over 2 years ago
Work-around for the time being: configure a system maintainer
Updated by Oliver Hader over 2 years ago
If no system maintainer is set up, then all administrators are assigned the system maintainer role.
In Development context, all administrators are system maintainers as well.
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74910
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74911
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74912
Updated by Thomas Hohn over 2 years ago
Gerrit Code Review wrote in #note-7:
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74911
It seems to fix the issue - at least under 10.4.30
Updated by Oliver Hader over 2 years ago
- Has duplicate Bug #97769: Cannot open Admin modules anymore added
Updated by Oliver Hader over 2 years ago
- Subject changed from TYPO3 10.4.29 introduces an regression to TYPO3 10.4.29 regression in Admin Tools
Updated by Oliver Hader over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1a1a6feba410fe981942327d6bafacc4880331c1.