Project

General

Profile

Actions

Bug #95795

closed

The button toolbar in the page module is missing buttons, if the backend user is only allowed to edit one translation language

Added by Kai Strecker over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-10-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Steps to reproduce:
  1. Create a page with EN as default language and IT as a translation (IT is just example, you can use any other language).
  2. Create a user, that is only allowed to edit IT content.
  3. Log into the backend with the newly created user.
  4. 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

Screenshot.png (2.2 KB) Screenshot.png Kai Strecker, 2021-10-27 08:09

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - 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 languageClosed2022-01-20

Actions
Actions #1

Updated by Gerrit Code Review over 2 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

Actions #2

Updated by Gerrit Code Review over 2 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

Actions #3

Updated by Gerrit Code Review over 2 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

Actions #4

Updated by Oliver Bartsch over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Kai Strecker over 2 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:
  1. Create a page with EN as default language and IT as a translation (IT is just example, you can use any other language).
  2. Create a user, that is only allowed to edit IT content.
  3. Log into the backend with the newly created user.
  4. Switch to the page module.
  5. Switch the language to IT.
  6. 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.

Actions #6

Updated by Oliver Bartsch over 2 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
Actions #7

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF