Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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: TYPO3com <noreply@typo3.com> Tested-by: Daniel Goerz <daniel.goerz@posteo.de> Tested-by: Susanne Moog <look@susi.dev> Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Susanne Moog <look@susi.dev>
- Loading branch information