[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>
Showing
- typo3/sysext/backend/Classes/Controller/Page/TreeController.php 13 additions, 0 deletions...sysext/backend/Classes/Controller/Page/TreeController.php
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js 1 addition, 1 deletion.../backend/Resources/Public/JavaScript/PageTree/PageTree.js
Please register or sign in to comment