Bug #95795
closedThe button toolbar in the page module is missing buttons, if the backend user is only allowed to edit one translation language
100%
Description
- Create a page with EN as default language and IT as a translation (IT is just example, you can use any other language).
- Create a user, that is only allowed to edit IT content.
- Log into the backend with the newly created user.
- Switch to the page module.
Result: Only the button "View webpage" is shown. Other buttons like "Edit page properties" are missing. Because of this, the user is for example not able to edit the IT translation of the page metadata in the page properties. This is a problem, because we have many editors, that are only allowed to edit the translations for their country/language.
Request: Editors should be able to edit all translation content of one language, without needing permission to edit content in the default language.
Files
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72616
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch 11.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/+/72620
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72617
Updated by Oliver Bartsch almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 28d89b1c0e4abd8be9790b74e240ad21dc4f0903.
Updated by Kai Strecker almost 3 years ago
We updated our TYPO3 instance to 10.4.23. Now the buttons are displayed but it still doesn't work completely:
Steps to reproduce:- Create a page with EN as default language and IT as a translation (IT is just example, you can use any other language).
- Create a user, that is only allowed to edit IT content.
- Log into the backend with the newly created user.
- Switch to the page module.
- Switch the language to IT.
- Switch from "Columns" display mode to "Languages".
Result: PHP error "Call to a member function getTitle() on null" in "typo3_src/typo3/sysext/backend/Classes/View/PageLayoutView.php" line 729.
The problem is, that the function argument "languageIds" not only contains the language id of IT, but also the language id 0, which the user has no access to.
Updated by Oliver Bartsch almost 3 years ago
- Related to Bug #96600: Still broken after fix: The button toolbar in the page module is missing buttons, if the backend user is only allowed to edit one translation language added