Support » Plugin: WP Custom Admin Interface » Admin Menu not hiding items for Editor based on permissions

  • Resolved andysbp

    (@andysbp)


    Hi,

    I’m using version 7.8

    I have customised the admin menus, mainly rearranged and renamed items, I have not customised the menu access permissions.

    When I log in as an Editor, I see all top-level menu items even though the user permissions means I shouldn’t (Appearance, Settings etc). I don’t see sub-level links nor am unable to access any of the pages as it should be.

    I had not checked this with previous versions so unsure if this is a new bug or not. (New to using the plugin)

    Many thanks,
    Andy

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @andysbp,

    I would need to see screenshots showing your menu items you have edited as well as the permissions granted below this, coupled with a screenshot showing what you are seeing when logged in as an editor.

    Thanks,

    Thread Starter andysbp

    (@andysbp)

    Hi,

    I have sent links to images showing the full options for the admin menu, and the menu as it shows for an editor to info@northernbeacheswebsites.com.au

    Thanks,

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @andysbp,

    The screenshot does not show the permissions granted at the bottom of the customised menu; I want to see this.

    Also can you be more specific in regards to what has been added/hidden/changed on the menu which is different to the menu which is being output? Thanks,

    Thread Starter andysbp

    (@andysbp)

    Hi,

    I’ve emailed you a link to the bottom of the admin menu page.

    Changes I have made include:-
    Renaming posts to news (There are a few others but unsure what they were)
    Moving a lot of items around. Events, pages, Pop-up banners, in fact most items…
    Hidden Projects.
    All these changes are showing correctly for all users.

    However, menu items which would not normally show for none admins are still showing. For example ‘Appearance’ is showing for the Editor user in the screenshot. There are no menu items appearing under it but the actual appearance menu item still shows.

    Menu items which would not normally show due to permissions are:-
    Appearance, Plugins, Settings, Activity Log, Google Analytics, SEO, Widgetized pages, Divi, Admin Interface

    Is it expected behaviour that all menu items will show for all users if they see the customised menu? I was hoping they would see the customised menu but only the elements that they have the correct permission to use.

    (I am happy to revert back to the wordpress default to see if this behaviour still holds if you want me to)

    Thanks,
    Andy

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @andysbp,

    This is expected, because you are applying the customised menu to EVERYONE. With the plugin you have 2 options, a customised menu and then the default menu. You apply the single customised menu to the people in your selection and everyone else will see the standard menu. The use case you are suggesting is not really ideal for the plugin because the editor role has a customised menu from the admin.

    Thanks,

    Thread Starter andysbp

    (@andysbp)

    Hi,

    Thanks for clarifying.

    With it hiding the submenu items if the user didn’t have permission I had assumed it would also hide the main menu items if the user didn’t have permission.

    Thanks,
    Andy

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Admin Menu not hiding items for Editor based on permissions’ is closed to new replies.