Review 13.4 Merged

89615[BUGFIX] Fix indefinite sudo confirmation when copying backend users

Benjamin Franzke CR +2 V +2 Easy +2 −1 updated 06/03/25, 14:08

Commit message

With #106743 the DataHandler sudo mode access subjects (that were added
in #103252) have been extended with the record identifier as subject
context.
For new or copied record there is no UID yet, therefore a randomized
string is used, which causes issues with password grants which act
as one-time grants and therefore need an exact subject match, where
a randomized identifier causes the access subject to never match.

To solve this, the randomized NEW.+ identifiers are normalized to NEW,
in order to create stable sudo mode authentication claims, that do not
change between claim creation and claim consumption.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • core-ci +1 CI

Issues 3

Files 1

Review log 34

  1. Benjamin Franzke commented on patch set 1 06/03/25, 13:41

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 06/03/25, 13:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/79801

  3. Benjamin Franzke voted on patch set 1 CR +2 V +2 06/03/25, 13:55

  4. Benjamin Franzke merged patch set 2 06/03/25, 14:08