give custom roles for administrator only ,so problem in displaying other menus in admin panel

magento.stackexchange https://magento.stackexchange.com//questions/58993

  •  12-12-2019
  •  | 
  •  

Question

enter image description herei 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.

enter image description here

Was it helpful?

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:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top