Bug #103432
closedError in file list, if user is not allowed to edit the default language
100%
Description
Steps to reproduce¶
- Create a second system language.
- Create a new backend user group. This group gives access to the file list and limits access to only the second system language.
- Create a new backend user (not admin) and assign the just created user group to it.
- Switch to the just created user.
- Open the file list and upload a file.
- 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:
- 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.
- 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!
Updated by Gerrit Code Review 4 months 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
Updated by Gerrit Code Review 4 months 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
Updated by Gerrit Code Review 4 months 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
Updated by Gerrit Code Review 4 months 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
Updated by Gerrit Code Review 4 months 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
Updated by Oliver Bartsch 4 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b2a9b9b268ac4a15bc06be9a0d2e4264b8c5d390.