-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Backend: Customer grid not filtered accordingly to admin scope #39190
Comments
Hi @FloForMagento. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Preconditions and environment
Steps to reproduce
Expected result
Grid should show customers accordingly to admin user scope.
Actual result
Magento throw an exception: "More permissions are needed to view this item."
Additional information
The problem is that Magento don't use admin user scope to filter request on customer_grid_flat. It does control scope after that, in Magento\AdminGws\Model\Model::customerLoadAfter, call to hasStoreAccess return false and lead to the exception.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: