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.
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