Sushant Bhatnagar
Sushant Bhatnagar

Reputation: 3774

How to hide item from menu if user has not right to it in Admin Section?

I have create a new customer role "SubAdmin" with limited admin permission , assign it to any customer . When customer is login in admin section , he see same menu as administrator while he have not access right to some pages .

When customer trying to open those pages , it give access denied messages . I want to display only those pages in menu for which customer has right.

Upvotes: 3

Views: 1190

Answers (2)

LateshtClick.com
LateshtClick.com

Reputation: 616

based on UserRole provided by you, you can do it.

login as admin in administrator area. go to ACL Permission menu under Configuration section.

check or uncheck permission for perticular user role.

for more information, Add new menu (hide menu)

Upvotes: 0

AndyMcKenna
AndyMcKenna

Reputation: 2647

In 2.3, you can set this in the admin section:

Configuration -> Settings -> General and Misc Settings -> Security tab, then check Hide admin menu items based on permissions

Upvotes: 3

Related Questions