#111179Run Extbase action invocation, #[Authorize] and #[RateLimit] through an inner middleware stack
Description
After argument mapping and validation, ActionController::callActionMethod() handles validation errors, #[Authorize] and #[RateLimit] in fixed code; extensions cannot hook in between with access to the mapped arguments.
Proposal: a second stack “extbase-action” runs after mapping/validation inside the controller. The controller hands over an invocation object (controller, action, Arguments, prepared values, closures for the action and errorAction so protected methods keep working). Core registers three middlewares in today’s order: argument validation (short-circuit to errorAction), authorize, rate limit; the kernel dispatches BeforeActionCallEvent and calls the action. Semantics stay as today (rate limit is still not consumed on validation errors).
Breaking: ActionController::performAuthorizationChecks(), handleRateLimit(), injectRateLimitRegistry(), injectAuthorizeRegistry() are removed; subclasses overriding them must move to middlewares.
Reviews 2
Related issues 1
History 15
-
Alexander Schnitzler changed Related to #111178 <span data-processor="relativetime" data-value="2026-10-20T15:20:31+00:00" > 10/20/26, 15:20 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 96941 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-20T15:59:58+00:00" > 10/20/26, 15:59 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96941 <span data-processor="relativetime" data-value="2026-10-23T10:45:43+00:00" > 10/23/26, 10:45 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96941 <span data-processor="relativetime" data-value="2026-11-04T08:55:55+00:00" > 11/04/26, 08:55 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96941 <span data-processor="relativetime" data-value="2026-11-04T10:01:36+00:00" > 11/04/26, 10:01 </span>