Content elements cannot be added when page editing is disabled
When disabling page editing for editors with access module, new content elements
cannot be created.
This is due to the fact, that some JS AMD module (PageActions) is bound to page edit permissions, while it
meanwhile holds functionality that is independent from page edit permissions (like creating new content elements, show hidden elements and so on)
Updated by Helmut Hummel about 2 years ago
The AMD module is only added when page permissions are granted: https://github.com/TYPO3/TYPO3.CMS/blob/83a2eeb5320aacd4d947178abb0990177c34fa81/typo3/sysext/backend/Classes/View/PageLayoutView.php#L844-L857
However, the AMD module contains functionality, that is required even without page permissions: https://github.com/TYPO3/TYPO3.CMS/blob/83a2eeb5320aacd4d947178abb0990177c34fa81/typo3/sysext/backend/Resources/Private/TypeScript/PageActions.ts#L37-L39
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59872
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Closed to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60737