Issue Feature Under Review

#111522 Allow custom storage for RateLimiterFactory and add backend user session storage

Torben Hansen 11/21/26, 13:01 updated 11/21/26, 13:10

Description

\TYPO3\CMS\Core\RateLimiter\RateLimiterFactory is bound to CachingFrameworkStorage. Its state is lost when caches are flushed, which authenticated backend users (e.g. admins via “Flush all caches”) can trigger themselves. This makes it unsuitable for limiting actions of logged-in backend users.

  • Accept any Symfony StorageInterface in RateLimiterFactory (default remains CachingFrameworkStorage).
  • Add BackendUserSessionStorage, which keeps the limiter state in the backend user session, so it survives cache flushes.

Reviews 1

History 01