-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[2.1.0-ce] Role Resources not selectable #5803
Comments
You can check file acl.xml in your module |
Exact the same issue in our Magento 2.1.0-CE. Upgraded from 2.0.7-CE. I need to create a new role for a api-user to be used for a shipment interface. But first I have to correct an xml file? Where is that file to be found? In which module? What is the path? Please enlighten me. |
I need this too. Occurs in 2.1.1 as well. |
On a fresh install of 2.1.0-CE the role resources are correctly shown. The problem may be caused by a theme or module that is installed. I used article #132329 on stackexchange to solve the issue for now. In the file module_user/Block/Role/Tab/Edit.php, in the function |
Can confirm this issue on an installation of 2.1.2-CE after Upgrade from 2.0.7 and 2.1.1. The temporary workaround from @robkor works. |
I had the same issue with the resources tree rendering blank, and I've found out that the issue was with the acl.xml file of one of the installed modules (it can also be from a theme). In my case, the module's resources were not inside the Magento_Backend::admin resource tag:
After making the changes such as placing the resources inside a group resource tag (one for all the module related resources), and also placing it inside the Magento_Backend::admin tag, fixed the problem.
Finally, to find out the module/theme thats causing this issue, check their acl.xml files or try to disable one by one and check the roles & permissions page to see if the tree is visible again. Remember to clear cache if you're not running in developer mode! |
I understand these are the custom modules located in Thanks for your help. |
You dont need to create acl.xml files for modules that do not require one. |
Thanks @robkor Working fine. Magento ver 2.1.5 Problem: No role resources are shown, selectable, or savable.
Solution : Open file and edit Edit.php in the function getTree() I changed:
Solution : Open file and edit Webapi.php in the function getTree() I changed: Thanks |
Hi @dgarbe. |
@dgarbe, thank you for your report. |
I have this issue after upgrade to 2.1.9. |
i am also having this issue in magento 2.3.3 |
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: