WordPress.org

Ready to get started?Download WordPress

Forums

Easy Restaurant Menu Manager
Admin Menu not working for Editor Level (6 posts)

  1. piranimg
    Member
    Posted 1 year ago #

    For some reason, Editor based roles can not see the Menu Manager in the admin section, is there a way to allow Editors to see this? We normally set our clients up as Editors to prevent them from accessing theme editors, plugin editor, etc.

    http://wordpress.org/extend/plugins/easy-restaurant-menu-manager/

  2. thrive25
    Member
    Posted 1 year ago #

    Hello

    I am also interested in this. I need my client to edit the menu when needed. He will have an editor based role.

    thanks
    Chad

  3. sleenmg
    Member
    Posted 1 year ago #

    Did this ever get answered or changed?

  4. fotoramonzi
    Member
    Posted 1 year ago #

    I am also having this problem. The fact that editors can't "edit" the menu doesn't make any sense. I paid for the extended version of this plugin which also didn't make a difference.

    Allowing editors to change the menu is a key functionality that this plugin should have and should be addressed immediately. I would not have even bothered with this plugin had I known about this issue.

  5. fotoramonzi
    Member
    Posted 1 year ago #

    Ok, found a solution to the problem via the following plugin:
    http://wordpress.org/extend/plugins/advanced-access-manager/

    Quick Instructions:

    • As an Admin: create a new user with a role of "editor"
    • Download, install and activate Advanced Access Manager
    • Hover over AWM Group tab and click on Access Manager link
    • In the "General Box" (top right) change Current Role to "editor"
    • Select the capabilities tab located in the options list box
    • Scroll down to Backend Interface and click on the Manage Options checkbox

    This will make the Easy Restaurant Manager available for Editors. You can also permit and restrict just about anything using the Access Manager plugin. Personally I wanted a specific editor to only have permissions to change Posts, comments and the Easy Restaurant Plugin and nothing else. The Access Manager plugin made that really easy to do.

    Hope this helps you guys.

  6. Deuce Creative
    Member
    Posted 1 year ago #

    Hi,

    We came across this problem and found a better fix (for what I believe is a bug).

    There is already a WPRMM_CAPABILITY definition setup in easy-restaurant-menu-manager.php, which is set to 'edit_pages' by default (i.e. the default Editor role would include this). This definition is used to check permissions for most functions, however it is *not* used in admin/crud-routing.php to check permissions for saving and deleting menus (which I believe it should).

    So, a simple fix for this problem is simply to replace the following line 3:

    if(!current_user_can('manage_options') || empty($_POST['wprmm_crud'])) wp_die('You do not have permission to modify this object.');

    with:

    if(!current_user_can(WPRMM_CAPABILITY) || empty($_POST['wprmm_crud'])) wp_die('You do not have permission to modify this object.');

    This should fix the issue of Editor roles not being able to use the plugin correctly.

    Regards,

    Matt.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.