give custom roles for administrator only ,so problem in displaying other menus in admin panel
-
12-12-2019 - |
Question
i went to system > configuration > users .
i select "Administrators" and than "custom" than i selected some dashboard", newsletter and click on save.
now when i open admin panel with administrator, its showing only "dashboard" and "sales" and "system"
menu. please help me to find how to get back the other menus in admin panel.
Solution
You can run the following queries to reset it:
DELETE FROM admin_rule WHERE role_id = 1 AND resource_id != 'all';
UPDATE admin_rule SET permission = 'allow' WHERE role_id = 1;
This is assuming that the Administrator role_id is 1.
OTHER TIPS
In your database there are 4 tables regarding admin roles, users and rule. Open the table admin_role and from there you will be able to change the role the admin user have. My user looks like this:
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange