#107344Deleting page results in 503: "You don't have access to this page" if switch user to non-admin user
Description
It looks like the page can be deleted but the currently selected page in page tree is still selected and this results in the error.
This problem is not reproducible with older versions, e.g. v12. Also, it is not reproducible as admin user.
Reproduce
Using latest TYPO3 instance from git repo “main” branch (v14.0.0-dev) and “styleguide” extension.
1. With styleguide extension create “styleguide frontend demo” test pages
2. If BE user does not exist, add BE user
3. Switch to BE user
4. Create test pages or test page
6. Jump to new page in page tree
7. Try to delete page by using context menu “Delete” in page tree
Result:
> 503
> Oops, an error occurred!
> You don’t have access to this page
However, page is deleted. So I assume it gets deleted, but current page is now the deleted page.
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] Deleting page results in 503: "You don't have access to this page" if switch user to non-admin user Resolves: #107344 Releases: main