Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.
96661[TASK] Add capability invoker and registry
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 4
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/96661/4 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/61/96661/4 && 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 5
-
main
96852[TASK] Add check whether a user may read a field
The chain has patch set 1 of 2, the changes above it need a rebase.
- main 96664[TASK] Resolve page and record references
-
96661 [TASK] Add capability invoker and registry This change
- main 96660[TASK] Derive argument schemas from signatures
-
main
96580[TASK] Add check whether a user may read a record
The chain has patch set 3 of 4, the changes above it need a rebase.
Issues 1
Files 39
- typo3/sysext/core/Classes/Attribute/AsCapability.phpnew+60 −0
- typo3/sysext/core/Classes/Capability/Gate/AnyUser.phpnew+31 −0
- typo3/sysext/core/Classes/Capability/Gate/CapabilityGateInterface.phpnew+30 −0
- typo3/sysext/core/Classes/Capability/Gate/CustomPermission.phpnew+31 −0
- typo3/sysext/core/Classes/Capability/Gate/GateClass.phpnew+34 −0
- typo3/sysext/core/Classes/Capability/Gate/GateEvaluator.phpnew+93 −0
- typo3/sysext/core/Classes/Capability/Gate/GateInterface.phpnew+26 −0
- typo3/sysext/core/Classes/Capability/Gate/TableAccess.phpnew+32 −0
- typo3/sysext/core/Classes/Capability/Gate/TableAccessMode.phpnew+27 −0
- typo3/sysext/core/Classes/Capability/CapabilityDefinition.phpnew+78 −0
- typo3/sysext/core/Classes/Capability/CapabilityException.phpnew+64 −0
- typo3/sysext/core/Classes/Capability/CapabilityInvoker.phpnew+141 −0
- typo3/sysext/core/Classes/Capability/CapabilityRegistry.phpnew+102 −0
- typo3/sysext/core/Classes/Capability/CapabilityType.phpnew+47 −0
- typo3/sysext/core/Classes/Capability/Effect.phpnew+29 −0
- typo3/sysext/core/Classes/Capability/ExternalEffect.phpnew+31 −0
- typo3/sysext/core/Classes/Capability/InvalidCapabilityException.phpnew+28 −0
- typo3/sysext/core/Classes/Capability/OutcomeCategory.phpnew+47 −0
- typo3/sysext/core/Classes/Capability/PreparedInvocation.phpnew+54 −0
- typo3/sysext/core/Classes/Capability/WorkspaceMode.phpnew+31 −0
Show 19 more files
- typo3/sysext/core/Classes/DependencyInjection/CapabilityPass.phpnew+164 −0
- typo3/sysext/core/Configuration/Services.php+12 −0
- typo3/sysext/core/Tests/Functional/Capability/Fixtures/CapabilityUsers.csvnew+12 −0
- typo3/sysext/core/Tests/Functional/Capability/CapabilityInvokerTest.phpnew+287 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Classes/BrokenCapabilities.phpnew+44 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Classes/FailingValue.phpnew+32 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Classes/FixtureCapabilities.phpnew+186 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Classes/FixtureGate.phpnew+35 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Configuration/TCA/tx_test_capabilities_readonly.phpnew+20 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/Configuration/Services.yamlnew+8 −0
- typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_capabilities/composer.jsonnew+23 −0
- typo3/sysext/core/Tests/Unit/Capability/CapabilityExceptionTest.phpnew+77 −0
- typo3/sysext/core/Tests/Unit/Capability/CapabilityRegistryTest.phpnew+70 −0
- typo3/sysext/core/Tests/Unit/DependencyInjection/Fixtures/Capability/FixtureGate.phpnew+29 −0
- typo3/sysext/core/Tests/Unit/DependencyInjection/Fixtures/Capability/InvalidCapabilities.phpnew+179 −0
- typo3/sysext/core/Tests/Unit/DependencyInjection/Fixtures/Capability/UnknownGate.phpnew+22 −0
- typo3/sysext/core/Tests/Unit/DependencyInjection/Fixtures/Capability/ValidCapabilities.phpnew+42 −0
- typo3/sysext/core/Tests/Unit/DependencyInjection/CapabilityPassTest.phpnew+120 −0
- composer.json+1 −0
Review log 812
-
Oli Bartsch uploaded patch set 1 10/13/26, 07:23
-
core-ci voted on patch set 1 V +1 10/13/26, 07:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110982
-
Mathias Brodala commented on patch set 1 10/13/26, 07:38
-
Benjamin Franzke commented on patch set 1 10/13/26, 07:47
I think we planned to encapsulate Actions (both HTTP and MCP) as actions, see > 91563: [WIP][FEATURE] Introduce Action API | https://review.typo3.org/c/Packages/TYPO3.CMS/+/91563 Can we join forces? -
Oli Bartsch marked it work in progress 10/13/26, 08:08
-
Oli Bartsch rebased onto patch set 2
V +110/13/26, 08:51 -
core-ci voted on patch set 2 V +1 10/13/26, 09:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110990
-
Oli Bartsch rebased onto patch set 3
V +110/14/26, 06:42 -
core-ci voted on patch set 3 V +1 10/14/26, 06:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111044
-
Benni Mack commented on patch set 3 10/18/26, 17:55
Reply Unresolved
CapabilityType has the same six cases as ActionType in 91563, and registry, invoker and attribute mirror the Action API. This could be merged = looks like you agreed on that part. -
Oli Bartsch uploaded patch set 4
V +110/19/26, 07:27 -
core-ci voted on patch set 4 V +1 10/19/26, 07:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111589
NoGate.php:21Unresolved