Review 14.3 Merged

97309[BUGFIX] Allow redirects of all base variant hosts

Oli Bartsch CR +2 V +2 Normal +138 −19 updated 11/02/26, 21:34

Commit message

The source hosts an editor is allowed to see and edit redirects for
were collected from the bases of the accessible site languages. Those
bases are resolved when the site is loaded and use the first base
variant matching the current request. With the backend running on an
alternative entry point, only the host of that variant was allowed,
so redirects of the main entry point host were hidden and could not
be edited or saved anymore, and vice versa.

The permission check now uses the hosts of the configured base and
all base variants of the sites and accessible languages the editor
has a webmount in. The source host value picker still only offers
the hosts resolved in the current context, so it does not list hosts
of other application contexts.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Oli Bartsch commented on patch set 1 11/02/26, 20:21

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/02/26, 20:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113107

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 11/02/26, 21:34

  4. Oli Bartsch merged patch set 2 11/02/26, 21:34