#103432Error in file list, if user is not allowed to edit the default language
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!