#109199Not possible to create redirects as non-admin user if no access to site root page
Description
Reproduce
1. Create Backend user which has no access to the root page of a site (e.g. give editor DB mount to subpage)
2. With this Backend user, change the slug
result: The following error message appears:
> Attempt to insert record on pages:815 where table “sys_redirect” is not allowed
Analysis
Looks like a regression which was introduced by using DataHandler in sys_redirect: SlugService::createRedirects
It can be reproduced with latest commit 5f0a657f21fffafca697284a4176089f28fe85a0 in 13.4 branch
It is not reproducible with commit cbaa94d8962ec9014d736b041880a5be112b5621 where DataHandler is not yet used.
- patch: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90682
- change in SlugService: https://review.typo3.org/c/Packages/TYPO3.CMS/+/90682/18/typo3/sysext/redirects/Classes/Service/SlugService.php
Versions
- first reproduced in v13 but probably also occurs in v14
Log message
Tue, 10 Mar 2026 10:05:18 +0100 [ERROR] request="31faef49b52bc" component="TYPO3.CMS.Redirects.Service.SlugService":
Could not create redirect record for source "site13.de/icbm/umweltbiochemie/forschung/tmap" - {"host":"site13.de","path":"/icbm/umweltbiochemie/forschung/tmap","persistedUid":null,"errorLog":["[1.1]:
Attempt to insert record on pages:3 where table \"sys_redirect\" is not allowed"],"url":"https://site13.de/typo3/record/edit?token=77d886a527cfbfc0f2288ec6e6a507547fd5bae3&returnUrl=%2Ftypo3%2Fmodule%2Fweb%2Flayout%3Ftoken%3Db41757ee6cefde62123b4f1b8f2c767d2c9ea488%26id%3D15141&edit%5Bpages%5D%5B15141%5D=edit"}
Possible workaround
When overriding pages TCA, it is possible to add redirects:
$GLOBALS['TCA']['pages']['ctrl']['security']['ignoreWebMountRestriction'] = true;
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Not possible to create redirects as non-admin user if no access to site root page Resolves: #109199 Releases: main