#111522 Allow custom storage for RateLimiterFactory and add backend user session storage
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
StorageInterfaceinRateLimiterFactory(default remainsCachingFrameworkStorage). - Add
BackendUserSessionStorage, which keeps the limiter state in the backend user session, so it survives cache flushes.
Reviews 1
History 01
-
Gerrit Code Review pushed patch set 1 for main to change 97867 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-21T13:10:20+00:00" > 11/21/26, 13:10 </span>