Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

92197[WIP][FEATURE] Provide Record Actions

Benjamin Franzke CR 0 V 0 Nightmare +5227 −53 updated 11/06/26, 10:39

Commit message

Provide actions to read, list, create, update and delete records of all
tables described by TCA, as part of the Action API. Input and output
are described by JSON Schema derived from TCA per record type, so that
the OpenAPI document and MCP tools describe each table.

Writes go through DataHandler, reads respect the table, field and page
permissions of the backend user. A workspace query parameter selects
the workspace of a single request.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 19
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/97/92197/19 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/97/92197/19 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 17

  1. main 88507[WIP][FEATURE] AI suggest demo using tools API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Expert +1777 −2
  2. main 93527[BUGFIX] Avoid invalidly showing login form when opening a shared link Based on this change Merged Benjamin Franzke CR +2 V +2 → 14.3 Normal +116 −27

    The chain has patch set 3 of 9, the changes above it need a rebase.

  3. main 92721[WIP][BUGFIX] Fix referrer for login redirect Based on this change Abandoned Benjamin Franzke CR 0 V -1 → 14.3 Easy +22 −11
  4. main 92724[WIP][FEATURE] Implement OAuth authorization server Based on this change Abandoned Benjamin Franzke CR 0 V 0 Nightmare +2715 −128

    The chain has patch set 1 of 6, the changes above it need a rebase.

  5. main 92224[WIP][FEATURE] Implement MCP Server based on Actions API Based on this change Work in progress Benjamin Franzke CR 0 V -1 Expert +1613 −0
  6. main 92322[WIP][TASK] Migrate Dashboard to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Expert +807 −687
  7. main 97327[WIP][TASK] Migrate file storage tree to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Normal +145 −81
  8. main 92191[WIP][TASK] Migrate PageTree to Action API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V -1 Hard +279 −203
  9. main 93599[WIP][TASK] Migrate resource endpoints to Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +3068 −839
  10. main 92223[TASK] Provide AI tool provider based on Actions API Based on this change Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Hard +271 −0
  11. 92197 [WIP][FEATURE] Provide Record Actions This change

  12. main 92196[WIP][TASK] Add Record DTO, Schema and Serializer This change is based on it Work in progress Benjamin Franzke CR 0 V 0 Expert +1583 −0
  13. main 91486[FEATURE] Implement API Hub This change is based on it Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +5905 −1
  14. main 93423[FEATURE] Implement standalone redirect route option This change is based on it Work in progress Benjamin Franzke CR 0 V 0 Normal +62 −2
  15. main 91666[TASK] Provide OpenAPI spec w/ Swagger UI for Actions API This change is based on it Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Expert +1379 −3
  16. main 91563[FEATURE] Introduce Action API This change is based on it Work in progress Merge conflict Benjamin Franzke CR 0 V 0 Nightmare +3959 −143
  17. main 93064[FEATURE] Introduce JSON SchemaBuilder and Schema based Hydrator This change is based on it Work in progress Benjamin Franzke CR 0 V 0 Nightmare +2525 −0

Issues 2

Files 52

Show 32 more files

Review log 2239

Show 814 earlier messages
  1. Benjamin Franzke uploaded patch set 1 12/20/25, 19:08

  2. core-ci voted on patch set 1 V +1 12/20/25, 19:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92532

  3. Benjamin Franzke rebased onto patch set 2 V +1 12/24/25, 12:42

  4. core-ci voted on patch set 2 V -1 12/24/25, 13:27 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92662

  5. Benjamin Franzke rebased onto patch set 3 V -1 12/26/25, 10:47

  6. core-ci voted on patch set 3 V -1 12/26/25, 11:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92718

  7. Benjamin Franzke rebased onto patch set 4 V -1 01/05/26, 10:30

  8. core-ci voted on patch set 4 V -1 01/05/26, 10:40 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92983

  9. Benjamin Franzke rebased onto patch set 5 V -1 01/05/26, 14:53

  10. core-ci voted on patch set 5 V +1 01/05/26, 15:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92994

  11. Benjamin Franzke uploaded patch set 6 V +1 01/27/26, 10:07

  12. Benjamin Franzke rebased onto patch set 7 02/06/26, 15:42

  13. Benjamin Franzke uploaded patch set 8 03/01/26, 05:51

  14. core-ci voted on patch set 8 V +1 03/01/26, 06:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97069

  1. Benjamin Franzke uploaded patch set 9 V +1 04/09/26, 14:32

  2. core-ci voted on patch set 9 V +1 04/09/26, 15:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99864

  3. Benjamin Franzke uploaded patch set 10 V +1 08/27/26, 09:39

  4. Benjamin Franzke rebased onto patch set 11 08/27/26, 10:05

  5. core-ci voted on patch set 10 V -1 08/27/26, 10:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107242

  6. core-ci voted on patch set 11 V -1 08/27/26, 10:30 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107252

  7. Benjamin Franzke rebased onto patch set 12 V -1 08/27/26, 11:50

  8. core-ci voted on patch set 12 V +1 08/27/26, 11:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/107262

  9. Benjamin Franzke wrote 08/31/26, 09:01

    Hashtag added: actions
  10. Benjamin Franzke uploaded patch set 13 V +1 10/14/26, 10:50

  11. core-ci voted on patch set 13 V -1 10/14/26, 11:06 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111092

  12. Benjamin Franzke uploaded patch set 14 V -1 10/14/26, 13:46

  13. core-ci voted on patch set 14 V +1 10/14/26, 14:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111113

  14. Benni Mack commented on patch set 14 10/18/26, 17:44

    FetchRecords.php:29 Unresolved

    This returns uid + label from any TCA table to any caller with content:read, and in a backend session every user has that scope (ContentReadScope::allowedForUser() returns true). There is no tables_select, no webmount and no page permission check. be_users and fe_users both use "username" as label, so records/be_users with an empty search lists up to 100 backend usernames to any editor, and the same for frontend accounts. On a multi-site installation it also returns other sites' / tenants' records.
  15. Benni Mack commented on patch set 14 10/18/26, 17:46

    DeleteRecord.php:57 Unresolved

    Two problems exist even before WITH this todo: 1. BackendUtility::getRecord() runs before any check. "Not found" vs. "could not be deleted" tells any caller whether a uid exists in any table. 2. DataHabdler gets no user, so it falls back to $GLOBALS['BE_USER'], not $context->principal. Via mcp:serve without --user that is _cli_, which is an admin, so an agent can delete any record in any table. The only thing preventing deletes here is DataHandler's own check of whatever global user happens to be set. The action layer itself checks nothing.

    FetchPages.php:48 Unresolved

    This returns up to 1000 page titles of the whole instance, regardless of webmounts and show permission. On an install hosting several customers, every editor sees every customer's page tree.
  16. Benjamin Franzke uploaded patch set 15 V +1 10/28/26, 13:44

  17. core-ci voted on patch set 15 V -1 10/28/26, 14:11 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112723

  18. Benjamin Franzke uploaded patch set 16 V -1 10/28/26, 20:14

  19. core-ci voted on patch set 16 V +1 10/28/26, 20:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112750

  20. Benjamin Franzke uploaded patch set 17 V +1 11/03/26, 17:36

  21. core-ci voted on patch set 17 V -1 11/03/26, 18:19 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113191

  22. Benjamin Franzke uploaded patch set 18 V -1 11/05/26, 07:03

  23. core-ci voted on patch set 18 V +1 11/05/26, 07:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113348

  24. Benjamin Franzke uploaded patch set 19 V +1 11/06/26, 10:11

  25. core-ci voted on patch set 19 V +1 11/06/26, 10:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113489