You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of django-rosetta are you using?: 0.9.9
Have you looked trough recent issues and checked this isn't a duplicate? Yes
Hi,
I'm new to Rosetta, and everything seems to be working fine, but I have a need to give a language-specific access to the translators.
While the access for Superuser works fine, and access through the global translators group works ok,
I'm not able to have access for users defined in the translators-sr or translators-fr where I should see the different django.po and djangojs.po corresponding files
I'm in fact always sent back to the login page http://127.0.0.1:8000/accounts/login/?next=/translations/files/project/ showing that I miss specific access to the rosetta page.
The text was updated successfully, but these errors were encountered:
OK, I was testing something else, and realised that if my user is BOTH in the translators-sr and the generic translators group, suddenly my user sees only the languages he has been assigned to.
Therefore, I guess the the help should be modified from:
ROSETTA_LANGUAGE_GROUPS: Set to True to enable language-specific groups, which can be used to give different translators access to different languages. Instead of creating a global translators group, create individual per-language groups, e.g. translators-de, translators-fr, and assign users to these.
to ROSETTA_LANGUAGE_GROUPS: Set to True to enable language-specific groups, which can be used to give different translators access to different languages. In addition of creating a global translatorsgroup, create individual per-language groups, e.g.translators-de, translators-fr, and assign users to **both** the global translators group and the language-specific groups they need access to.
Skrattoune
changed the title
Not able to get ROSETTA_LANGUAGE_GROUPS=True working
Updating docs to get ROSETTA_LANGUAGE_GROUPS=True working
Jul 22, 2023
Hi,
I'm new to Rosetta, and everything seems to be working fine, but I have a need to give a language-specific access to the translators.
While the access for Superuser works fine, and access through the global
translators
group works ok,I'm not able to have access for users defined in the
translators-sr
ortranslators-fr
where I should see the differentdjango.po
anddjangojs.po
corresponding filesI'm in fact always sent back to the login page
http://127.0.0.1:8000/accounts/login/?next=/translations/files/project/
showing that I miss specific access to the rosetta page.The text was updated successfully, but these errors were encountered: