Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.
92197[WIP][FEATURE] Provide Record Actions
Commit message
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
- main 88507[WIP][FEATURE] AI suggest demo using tools API
-
main
93527[BUGFIX] Avoid invalidly showing login form when opening a shared link
The chain has patch set 3 of 9, the changes above it need a rebase.
- main 92721[WIP][BUGFIX] Fix referrer for login redirect
-
main
92724[WIP][FEATURE] Implement OAuth authorization server
The chain has patch set 1 of 6, the changes above it need a rebase.
- main 92224[WIP][FEATURE] Implement MCP Server based on Actions API
- main 92322[WIP][TASK] Migrate Dashboard to Actions API
- main 97327[WIP][TASK] Migrate file storage tree to Actions API
- main 92191[WIP][TASK] Migrate PageTree to Action API
- main 93599[WIP][TASK] Migrate resource endpoints to Actions API
- main 92223[TASK] Provide AI tool provider based on Actions API
-
92197 [WIP][FEATURE] Provide Record Actions This change
- main 92196[WIP][TASK] Add Record DTO, Schema and Serializer
- main 91486[FEATURE] Implement API Hub
- main 93423[FEATURE] Implement standalone redirect route option
- main 91666[TASK] Provide OpenAPI spec w/ Swagger UI for Actions API
- main 91563[FEATURE] Introduce Action API
- main 93064[FEATURE] Introduce JSON SchemaBuilder and Schema based Hydrator
Issues 2
Files 52
- Build/tests/playwright/e2e/api/api.spec.ts+115 −0
- typo3/sysext/backend/Classes/Action/Record/CreateRecord.phpnew+136 −0
- typo3/sysext/backend/Classes/Action/Record/DeleteRecord.php1new+93 −0
- typo3/sysext/backend/Classes/Action/Record/FetchRecord.phpnew+78 −0
- typo3/sysext/backend/Classes/Action/Record/FetchRecords.php1new+145 −0
- typo3/sysext/backend/Classes/Action/Record/RecordRepository.phpnew+336 −0
- typo3/sysext/backend/Classes/Action/Record/TemporaryWorkspace.phpnew+49 −0
- typo3/sysext/backend/Classes/Action/Record/UpdateRecord.phpnew+132 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_admin_only/Configuration/TCA/Overrides/tx_testirreforeignfield_price.phpnew+3 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_admin_only/composer.jsonnew+18 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_flex/Classes/EventListener/GridDataStructure.phpnew+70 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_flex/Configuration/TCA/tx_testrecordflex.phpnew+180 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_flex/Configuration/Services.yamlnew+8 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/Extensions/test_record_flex/composer.jsonnew+18 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/be_users_editor.csvnew+10 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/be_users_editor_offers_readonly.csvnew+6 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/be_users_price_reader.csvnew+6 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/fe_users.csvnew+3 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/hotels.csvnew+12 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/hotels_languages.csvnew+10 −0
Show 32 more files
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/hotels_list.csvnew+7 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/pages_editable.csvnew+3 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/sys_file.csvnew+3 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/sys_file_reference.csvnew+6 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/Fixtures/tt_content.csvnew+4 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/AdminOnlyRecordTest.phpnew+246 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/CreateRecordTest.phpnew+381 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/FetchRecordsTest.phpnew+308 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/FlexFormRecordTest.phpnew+281 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/RecordPermissionTest.phpnew+307 −0
- typo3/sysext/backend/Tests/Functional/Action/Record/UpdateRecordTest.phpnew+372 −0
- typo3/sysext/backend/Tests/Functional/Http/Fixtures/be_users_editor.csvnew+6 −0
- typo3/sysext/backend/Tests/Functional/Http/Fixtures/tt_content_workspace.csvnew+10 −0
- typo3/sysext/backend/Tests/Functional/Http/AuthenticatedRequestTrait.phpnew+93 −0
- typo3/sysext/backend/Tests/Functional/Http/RecordApiTest.phpnew+149 −0
- typo3/sysext/backend/Tests/Functional/Http/RecordWorkspaceTest.phpnew+347 −0
- typo3/sysext/core/Classes/DataHandling/RecordInputAccessCheck.phpnew+88 −0
- typo3/sysext/core/Classes/DataHandling/RecordInputDataMapBuilder.phpnew+331 −0
- typo3/sysext/core/Classes/Domain/Dto/Record.php+3 −1
- typo3/sysext/core/Classes/Domain/Dto/RecordInput.phpnew+48 −0
- typo3/sysext/core/Classes/Domain/Dto/RecordPatch.phpnew+48 −0
- typo3/sysext/core/Classes/Domain/RecordAccess.phpnew+110 −0
- typo3/sysext/core/Classes/Domain/RecordSerializer.php+54 −20
- typo3/sysext/core/Classes/Schema/JsonSchema/AbstractWritableRecordSchemaProvider.phpnew+79 −0
- typo3/sysext/core/Classes/Schema/JsonSchema/FieldMapper.php+191 −11
- typo3/sysext/core/Classes/Schema/JsonSchema/RecordInputSchemaProvider.phpnew+35 −0
- typo3/sysext/core/Classes/Schema/JsonSchema/RecordPatchSchemaProvider.phpnew+35 −0
- typo3/sysext/core/Classes/Schema/JsonSchema/RecordSchemaType.phpnew+66 −0
- typo3/sysext/core/Classes/Schema/JsonSchema/SchemaBuilder.php+85 −20
- typo3/sysext/core/Classes/Scope/AdminScope.php+3 −1
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111264-ProvideRecordActions.rstnew+99 −0
- composer.json+1 −0
Review log 2239
Show 814 earlier messages
-
Benjamin Franzke uploaded patch set 1 12/20/25, 19:08
-
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
-
Benjamin Franzke rebased onto patch set 2
V +112/24/25, 12:42 -
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
-
Benjamin Franzke rebased onto patch set 3
V -112/26/25, 10:47 -
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
-
Benjamin Franzke rebased onto patch set 4
V -101/05/26, 10:30 -
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
-
Benjamin Franzke rebased onto patch set 5
V -101/05/26, 14:53 -
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
-
Benjamin Franzke uploaded patch set 6
V +101/27/26, 10:07 -
Benjamin Franzke rebased onto patch set 7 02/06/26, 15:42
-
Benjamin Franzke uploaded patch set 8 03/01/26, 05:51
-
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
-
Benjamin Franzke uploaded patch set 9
V +104/09/26, 14:32 -
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
-
Benjamin Franzke uploaded patch set 10
V +108/27/26, 09:39 -
Benjamin Franzke rebased onto patch set 11 08/27/26, 10:05
-
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
-
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
-
Benjamin Franzke rebased onto patch set 12
V -108/27/26, 11:50 -
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
-
Benjamin Franzke wrote 08/31/26, 09:01
Hashtag added: actions -
Benjamin Franzke uploaded patch set 13
V +110/14/26, 10:50 -
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
-
Benjamin Franzke uploaded patch set 14
V -110/14/26, 13:46 -
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
-
Benni Mack commented on patch set 14 10/18/26, 17:44
FetchRecords.php:29UnresolvedThis 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. -
Benni Mack commented on patch set 14 10/18/26, 17:46
DeleteRecord.php:57UnresolvedTwo 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:48UnresolvedThis 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. -
Benjamin Franzke uploaded patch set 15
V +110/28/26, 13:44 -
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
-
Benjamin Franzke uploaded patch set 16
V -110/28/26, 20:14 -
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
-
Benjamin Franzke uploaded patch set 17
V +111/03/26, 17:36 -
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
-
Benjamin Franzke uploaded patch set 18
V -111/05/26, 07:03 -
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
-
Benjamin Franzke uploaded patch set 19
V +111/06/26, 10:11 -
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