I want to hide some section of the admin panel > configurations

how to do that? like there is a section called ( about us ) and it's the theme developer. I want to hide it. and some other things as well

magento 1.9

  • @muzramn, sv3n gave a good point on my attempt to answer your question. Though, I now need to admit that I do not exactly know what particular area you want to hide (since about us is no section I'm actual aware about). Disallowing modules from roles certainly does require that the (custom) modules are well written and/or do not rely already given menu structures in some way (i.e. a module that is adding a text field somewhere inside another modules config might be tricky to get disallowed in this case). – Christoph Farnleitner Jan 26 '18 at 20:50

Rather than hiding elements / menu sections via the modules system.xml (even though this might be necessary in some cases) I'd suggest you to create new a new user and user group and assign permissions based on the requirement for this user.

This should be a preferred way if the user that is to be restricted is nowhere close admin-permissions and/or the menu that is to be disabled for one user is required by other users.

You can create new user groups (aka "roles") from System > Permissions > Roles You can then switch the Resource Access to Custom in the second tab and grant privileges to needed areas only: enter image description here

The new role than can be applied to a particular user under System > Permissions > Users in the tab User Role.

  • 1
    Definitly correct, but I doubt that ACL resources are defined in adminhtml.xml for "about us" sections. – sv3n Jan 26 '18 at 20:33
  • @sv3n, sounds valid - let me verify that one – Christoph Farnleitner Jan 26 '18 at 20:38
  • Roles is definitely the best way to do this. Don't modify the core files and lose access to parts of your website, just adjust what you want to see and log into that account instead. – Steven J Jan 26 '18 at 22:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.