Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roles require access to all scopes to be able to work with translations #27

Open
Skullsneeze opened this issue Feb 2, 2022 · 0 comments

Comments

@Skullsneeze
Copy link

When a user role is defined that has access to the translation resources, but is limited in which scopes they can access, the translations are not shown.

Prerequisites

  • A magneto setup with multiple storeviews
  • Translations are imported in the database

To reproduce:

  • Create a new user role (System > Permissions > User Roles > Add New Role)
  • Give the user role access to all Translation resources
  • Limit the user to one or more scopes
  • Assign the role to a user
  • Login as the user to which the role is assigned
  • Open the Database/Inline translations page (Stores > Translations > Database / Inline)

Expected result:
The user sees the grid with translations

Actual result
The user sees an empty grid with the message "We couldn't find any records."

Notes
Role scopes example:
role-scopes-example

Role resources example:
role-resources-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant