95784[FEATURE] Decide table, field and language access with voters
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/84/95784/19 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/84/95784/19 && git cherry-pick FETCH_HEAD
Review
-
Code review CR +1 Needs a vote
- Josua Vogel +1
-
Verified V +1 Needs a vote
- Josua Vogel +1
- core-ci +1 CI
Relation chain 11
- main 95783[TASK] Provide the principal to the authorization checker
- main 97157[TASK] Decide module access with the authorization checker
- main 95787[TASK] Deprecate auth services and addService('auth')
- main 95786[FEATURE] Authenticate via AuthenticatorManager in user middlewares
- main 95785[FEATURE] Register tagged authenticators and AuthenticatorManager
- main 97804[TASK] Delegate backend user permission checks to security voters
- main 96852[TASK] Add check whether a user may read a field
- main 96580[TASK] Add check whether a user may read a record
- main 97323[TASK] Check page access along the cached page ancestry
- main 97322[FEATURE] Decide page permissions with a security voter
-
95784 [FEATURE] Decide table, field and language access with voters This change
Merge conflicts 12
- main 93628[WIP][TASK] Make GD the baseline image processor
- main 95753[TASK] Cache resolved page routes
- main 96543[WIP][POC][TASK] Write and read records by the same rules and rights
- main 96201[FEATURE] Introduce upload constraints for file uploads
- main 95125[FEATURE] Support non-PHP cache backends for the site settings cache
- main 95639[TASK] Extract a read-only UniquenessChecker from DataHandler
- main 95637[TASK] Introduce FieldValidationService for TCA field validation
- main 84603[TASK] Change typoscript from code to a data cache
- main 91936[POC][FEATURE] Extbase Route Annotations
- main 83623[WIP][FEATURE] Introduce System Settings API & Editor
- main 86821[WIP][TASK] Transform CSP PolicyRegistry into a request attribute
- main 82154[WIP][FEATURE] Simplify Extbase plugin configuration and registration
Issues 2
Files 17
- typo3/sysext/backend/Classes/Security/Authorization/ModuleVoter.php+5 −11
- typo3/sysext/core/Classes/Security/Authorization/Policy/LegacyGroupData.phpnew+87 −0
- typo3/sysext/core/Classes/Security/Authorization/Policy/LegacyGroupDataPolicyDecisionPoint.phpnew+111 −0
- typo3/sysext/core/Classes/Security/Authorization/Policy/PolicyDecisionPointInterface.phpnew+37 −0
- typo3/sysext/core/Classes/Security/Authorization/Policy/ResourceIdentifier.phpnew+103 −0
- typo3/sysext/core/Classes/Security/Authorization/Policy/Scope.php+11 −0
- typo3/sysext/core/Classes/Security/Authorization/Subject/SchemaField.phpnew+39 −0
- typo3/sysext/core/Classes/Security/Authorization/Voter/FieldVoter.phpnew+61 −0
- typo3/sysext/core/Classes/Security/Authorization/Voter/LanguageVoter.phpnew+52 −0
- typo3/sysext/core/Classes/Security/Authorization/Voter/ResourceVoter.phpnew+51 −0
- typo3/sysext/core/Classes/Security/Authorization/Voter/TableVoter.phpnew+61 −0
- typo3/sysext/core/Configuration/Services.yaml+3 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111237-SecurityVotersForTablesFieldsAndLanguages.rstnew+184 −0
- typo3/sysext/core/Tests/Functional/Security/Authorization/Policy/Fixtures/LegacyGroupData.csvnew+14 −0
- typo3/sysext/core/Tests/Functional/Security/Authorization/Policy/LegacyGroupDataPolicyDecisionPointTest.phpnew+160 −0
- typo3/sysext/core/Tests/Functional/Security/Authorization/Voter/CoreVotersTest.phpnew+175 −0
- typo3/sysext/core/Tests/Unit/Security/Authorization/Policy/ResourceIdentifierTest.phpnew+61 −0
Review log 2341
Show 916 earlier messages
-
Thomas Maroschik uploaded patch set 1 09/12/26, 08:29
-
core-ci voted on patch set 1 V -1 09/12/26, 08:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108390
-
Thomas Maroschik uploaded patch set 2
V -109/12/26, 09:04 -
core-ci voted on patch set 2 V -1 09/12/26, 09:27 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108397
-
Thomas Maroschik uploaded patch set 3
V -109/12/26, 11:11 -
core-ci voted on patch set 3 V -1 09/12/26, 11:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108401
-
Thomas Maroschik uploaded patch set 4
V -109/12/26, 11:36 -
core-ci voted on patch set 4 V -1 09/12/26, 11:49 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108407
-
Thomas Maroschik abandoned the change 10/22/26, 16:15
-
Benni Mack restored the change 10/25/26, 14:19
-
Benni Mack uploaded patch set 5
V -110/25/26, 14:19 -
core-ci voted on patch set 5 V +1 10/25/26, 14:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112512
-
Oli Bartsch rebased onto patch set 6
V +110/25/26, 19:39 -
core-ci voted on patch set 6 V +1 10/25/26, 20:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112542
-
Benni Mack rebased onto patch set 7
V +110/26/26, 19:41 -
core-ci voted on patch set 7 V +1 10/26/26, 20:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112609
-
Benni Mack rebased onto patch set 8
V +111/03/26, 14:43 -
core-ci voted on patch set 8 V +1 11/03/26, 15:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113165
-
Benni Mack rebased onto patch set 9
V +111/09/26, 10:12 -
core-ci voted on patch set 9 V +1 11/09/26, 10:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113641
-
Benni Mack rebased onto patch set 10
V +111/10/26, 20:26 -
core-ci voted on patch set 10 V -1 11/10/26, 21:03 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113948
-
Benni Mack rebased onto patch set 11
V -111/13/26, 14:31 -
Benni Mack rebased onto patch set 12 11/13/26, 19:02
-
core-ci voted on patch set 12 V +1 11/13/26, 20:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114376
-
Benni Mack rebased onto patch set 13
V +111/13/26, 20:59 -
core-ci voted on patch set 13 V +1 11/13/26, 22:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114398
-
Benni Mack uploaded patch set 14
V +111/17/26, 15:48 -
core-ci voted on patch set 14 V +1 11/17/26, 15:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114757
-
Benni Mack uploaded patch set 15
V +111/17/26, 18:50 -
core-ci voted on patch set 15 V -1 11/17/26, 19:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114780
-
Benni Mack uploaded patch set 16
V -111/18/26, 08:04 -
core-ci voted on patch set 16 V +1 11/18/26, 08:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114828
-
Benni Mack rebased onto patch set 17
V +111/18/26, 10:35 -
core-ci voted on patch set 17 V +1 11/18/26, 10:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114847
-
Benni Mack rebased onto patch set 18
V +111/18/26, 19:05 -
Benni Mack marked it ready for review 11/18/26, 19:05
-
Benni Mack uploaded patch set 19 11/18/26, 19:16
-
core-ci voted on patch set 18 V -1 11/18/26, 19:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114906
-
core-ci voted on patch set 19 V +1 11/18/26, 19:29 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114914
-
Josua Vogel voted on patch set 19 CR +1 V +1 11/21/26, 18:37