Project

General

Profile

Actions

Bug #103432

closed

Error in file list, if user is not allowed to edit the default language

Added by Kai Strecker about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2024-03-20
Due date:
% Done:

100%

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

Description

Steps to reproduce

  1. Create a second system language.
  2. Create a new backend user group. This group gives access to the file list and limits access to only the second system language.
  3. Create a new backend user (not admin) and assign the just created user group to it.
  4. Switch to the just created user.
  5. Open the file list and upload a file.
  6. Click the file tile or switch to list view and click the edit pencil or the title of the file.

Result (error messages)

Sorry, you didn't have proper permissions to perform this change.
ERROR: Language was not allowed.

Edit form could not be loaded
The edit form could not be loaded for the requested records. This might be due to insufficient permissions.

Possible solution

This is of course not really user-friendly. If those clicks always result in an error message for a user, those clicks should not be possible. In my opinion, there are two possible solutions:

  1. If there is at least one translation the user can edit, change the links, so the user edits one of the translations he has access to.
  2. Hide the pencil and make the title not clickable. So the user always has to use the language dropdown and click the translation specific edit button.

Thanks for fixing!

Actions #1

Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 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/+/83573

Actions #2

Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 12.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/+/83583

Actions #3

Updated by Gerrit Code Review about 1 month ago

Patch set 2 for branch 12.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/+/83583

Actions #4

Updated by Gerrit Code Review about 1 month ago

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/+/83573

Actions #5

Updated by Gerrit Code Review about 1 month ago

Patch set 3 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/+/83573

Actions #6

Updated by Oliver Bartsch about 1 month ago

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

Also available in: Atom PDF