[BUGFIX] Take tables_modify in PageLayoutView into account
If a non-admin user currently has no access to modify the `tt_content` table they still get editing options displayed in the PageLayoutView. Using these options leads to an infinty load of the FormEngine. Therefore a new function `hasContentModificationAndAccessPermissions` is introduced which also takes `tables_modify` into account. This function is now used in various places in PageLayoutView and replaces the current check which only validates the users access permission. Resolves: #90608 Releases: master Change-Id: I5a12557dff2ccdffc41d4df238965404603ef386 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63520 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Please register or sign in to comment