Review main Abandoned

73124[WIP][FEATURE] Add PageInformation to Backend requests

Benni Mack CR 0 V 0 Hard +274 −48 updated 09/12/24, 11:06

Commit message

This change adds a new "PageInformation" object that
is built in a PSR-15 middleware in TYPO3 Backend
requests to resolve typical actions usually done in
a PSR-15 middleware.

This usually means:

* The Page ID (null if e.g. in the file list module)
* The Page Record
* The Rootline
* The PageTSconfig overlaid by the user.

If the user does not have access to the page, the pageId is
filled with "null".

ToDo:
* Tests and Docs
* Distinguish between "page"-related modules and non-page
  related modules like filelist or scheduler.
* Move construction in its own factory, and use the PageTsConfig class
  ->createWithUserPermissions(int $pageId, $userObj)

Review

  • Code review CR 0
  • Verified V 0

Files 4

Review log 814

  1. Benni Mack uploaded patch set 1 01/22/22, 00:20

  2. core-ci voted on patch set 1 V -1 01/22/22, 00:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22393

  3. Benni Mack uploaded patch set 2 01/28/22, 09:37

  4. core-ci voted on patch set 2 V -1 01/28/22, 09:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22614

  5. Benni Mack uploaded patch set 3 01/28/22, 10:26

  6. core-ci voted on patch set 3 V -1 01/28/22, 10:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22615

  7. Benni Mack uploaded patch set 4 01/28/22, 12:11

  8. core-ci voted on patch set 4 V -1 01/28/22, 12:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22618

  9. Benni Mack uploaded patch set 5 01/28/22, 20:50

  10. Benni Mack uploaded patch set 6 01/28/22, 20:55

  11. core-ci voted on patch set 5 V -1 01/28/22, 21:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22635

  12. core-ci voted on patch set 6 V -1 01/28/22, 21:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/22636

  13. Benni Mack marked it work in progress 03/24/23, 11:45

  14. Benni Mack abandoned the change 09/12/24, 11:06

    wont do