#106484BE group field "allowed_languages" does not reflect multiple default languages
Description
On a TYPO3 instance with multiple sites with multiple default languages, one can’t select the different languages in the BE usergroup configuration.
How to reproduce:
1. Setup multiple sites with different default languages (e.g. English, German, French)
2. Create a backend usergroup for editors
3. Edit the backend usergroup record and switch to tab “Access rights“
4. When you want to select a language for “allowed_languages”, there is only one option (language id 0) but holds all languages
Solution is either to handle the different languages (even if all have the same id) or to be able to use another language id than 0 as default language
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 1
-
Benni Mack commented and changed status
NewRejected 04/03/25, 11:58
This isn’t possible right now because we’re not using a combination of site+language, where I would actually recommend to use the locale combination, however this is technically not possible right now because we have to deal with content on pid=0 – e.g. sys_file_metadata. THat’s why this list is used for the same result as on sys_file_metadata.
As you can see: locales would help a lot. I already added something like that back in the day as POC: https://github.com/bmack/locale
Once we have solved this, allowed_languages need to be revisited… for the time being, I suggest to use different languageIds per site to achieve your soltuion.