• Hi.

    The title pretty much says it all. I have tried on several installs of WP and for what ever reason, can’t get some of the sidebar item to hide for Editor role users.

    I am changing the “Required capability” to Administrator for as an example of one of the ‘problem’ menu items “Links” and “Portfolio” (which is part of the theme framework I’m using) and and saving the changes and they are still there.

    Any help would be appreciated as I’m interested in purchasing the Pro version but am reluctant until I know it’s likely to actually work.

    Thanks,
    David

    https://www.ads-software.com/extend/plugins/admin-menu-editor/

Viewing 7 replies - 1 through 7 (of 7 total)
  • same for me i need to know if it works? otherwise it is useless plugin!

    Thread Starter sunstardave

    (@sunstardave)

    It seems that we might be waiting quite some time for help birken.

    I have found another plugin that performs many of the functions of the Admin Role Editor plugin (though not to quite the same granular level) plus a few other features that I’ve found very useful. It’s called, AG Custom Admin (https://www.ads-software.com/extend/plugins/ag-custom-admin/). Though not entirely bug free, it generally works very well and the author is REALLY helpful.

    Good luck.

    i will try that one thx sunstardave ??

    ok i find away to disbale the Post, Links eg..

    you choose Posts in left coulm of admin editor and then you change the settings in the right colum for the Post.

    i change:
    All Posts to super_admin
    Add New to super_admin
    Add New to super_admin
    Categories to super_admin
    Post Tags to super_admin

    this way it was disable from users site.

    Thread Starter sunstardave

    (@sunstardave)

    Hey birken.

    No problem. :o)

    Re your last message. Thanks for sharing the solution. I’ll give it a shot.

    Cheers.

    Same here as first issue. A custom menu isn’t respecting my “Administrator” required capability. My custom role, “student”, doesn’t have administrator capabilities but is still seeing this menu.

    ————-

    Follow up: I had to change the capabilities for both the main sidebar menu and its children to remove it from visibility from my “student” role.

    Response from Jānis Elsts, the plugin developer:

    Ah, I see. This is technically not a bug, but an accurate reflection of how WordPress handles menu permissions.

    WordPress will actually ignore the capability requirements set on a top-level menu if it has any sub-menus. This is because a top-level menu will usually act as a link to the first accessible item in it’s sub-menu, so it will also inherit the required capability of that sub-menu. So to hide the top-level menu, you also need to hide all of its sub-menus.

    This is something that sometimes trips up users, but I’m not sure how to implement it better.

    Regards,
    Jānis Elsts

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Admin Menu Editor] Role Capabilities changes aren't working for several sidebar items’ is closed to new replies.