Review main Merged

78546[TASK] Reorganize & streamline sudo mode handling

Oliver Hader CR +2 V +2 Expert +1785 −360 updated 04/24/23, 06:56

Commit message

Issue #92836 introduced the "sudo mode" to all admin tool modules,
but with using the session storage of the install tool (based on
PHP native `$_SESSION` handling) - which is different to the usual
behavior and session handling in the TYPO3 backend.

This change changes the session handling to backend user sessions,
add a generic way to configure "sudo mode" per backend routes (not
hardcoding its invocation in the admin tool controller anymore).

In addition, "sudo mode" is now enabled for the extension manager
module as well - this was not possible before, due to the hardwired
implementation to `ext:install`.

In developer context, "sudo mode" is granted automatically (#93160).

Review

  • Code review CR +2

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

  • Verified V +2

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

Issues 1

Files 44

Show 24 more files