Skip to content
Snippets Groups Projects
Commit 953cb02f authored by Christian Eßl's avatar Christian Eßl Committed by Susanne Moog
Browse files

[BUGFIX] Check if editor is allowed to drag-move pages in pagetree

Before, editors could always use drag and drop to move pages in the
page tree, even if they were lacking the permissions to modify pages.
After trying to move a page, an error message would then be shown.

The following permission checks have now been added:
- Check if the editor is allowed to modify pages.
- Check if the editor is allowed to access the default language

The drag and drop feature is now only enabled, if these restrictions are
met. Admin users can use drag and drop in any cases.

Resolves: #25433
Releases: master, 9.5
Change-Id: If104dafa0e5293d698b384b05984642a188d1166
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63514


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 8c478504
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment