Review main Abandoned

74923[BUGFIX] Streamline `isSystemMaintainer()` checks

Andreas Kienast CR 0 V 0 Normal +111 −12 updated 04/21/23, 11:26

Commit message

If `$GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers']` is an empty
array, every admin user considered being a system maintainer, as
documented at [1].

However, the implemented check aimed to check for an empty string to
disable this feature altogether is not sufficient, resulting in loss of
access to the system maintainer modules.

The checks in `BackendUserAuthentication->isSystemMaintainer()` are now
streamlined to cover this edge-case properly.

[1] https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/9.0/Feature-82266-BackendUsersSystemMaintainers.html

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5