WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart

Tagged: hide new menus, Menu Editor, secondary role

  • This topic has 7 replies, 2 voices, and was last updated 5 years, 4 months ago by Syam Mohan.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 18, 2019 at 6:04 am #92778
    Sherry
    Spectator

    Hello,

    I just purchased the PRO, great plugin!

    I’m running into a few issues:

    1. Within Menu Editor, when I select “Hide New Menus” for a role, “Profile” (which allows users to see their own profile and update pw) disappears from the role’s admin menu. This happens to all roles even when User – Profile is selected to show.

    2. When a user has both a primary and secondary role, the menu items for both roles are hidden, even when I select “disable for secondary role”. Is there a way to remove the secondary roles block all together?

    December 18, 2019 at 9:46 pm #92797
    Syam Mohan
    Keymaster

    Hi Sherry,

    1. This happens because, the profile menu is only displayed when the user does’t have access to the ‘Users’ menu in WP-ADMIN. Since the user, you are editing the menu from has access to ‘Users’ section, it will consider ‘Profile’ menu as a new menu and will remove it. To workaround this issue, can you edit the menu using the role you are editing the menu for? For example, if you are editing the menu for role ‘ABC’ using Administrator role and if ‘ABC’ doesn’t have access to the ‘Users’ section, this issue will happen. To fix it, what you should do is, edit the menu for ‘ABC’ from the ‘ABC’ role itself. So temporarily enable menu editor for role ‘ABC’ and edit the menu using an ABC user account.

    2. Sorry, I don’t understand this question. Which block are you referring to?

    Thanks

    Syam

    December 19, 2019 at 1:35 am #92801
    Sherry
    Spectator

    Thanks for your response.

    1. The workaround does work, thank you! However, if I edit the role’s menu using my account, it removes the “profile” again. Is there a more permanent way to do this?

    2. Basically, checking the “disable for secondary role” option within “Menu Editor” doesn’t seem to work for me. A User with multiple roles will have admin menu items hidden based on the menu setting of each role. Is there a way to completely disable having a “secondary role”?

    December 19, 2019 at 8:49 am #92826
    Syam Mohan
    Keymaster

    Hi Sherry,

    1. Not right now. I’m in the process of completely rewriting this plugin. And I’m planning to add more features to Menu Editor. One of the functionality is custom menus, which I believe will help to fix this issue.

    2. Do you have menu editor configuration for the user’s primary role? Make sure ‘Disable For Secondary Role’ setting is check for every secondary role for that user.

    Thanks

    Syam

    December 19, 2019 at 10:43 am #92828
    Sherry
    Spectator

    Excited to see the new features 🙂

    Unfortunately the “disable for secondary role” still isn’t working for me. Users with a secondary role will have menu items hidden from BOTH the primary and secondary role, even if that setting is checked. Is there a way to get rid of the option to have secondary roles?

    December 19, 2019 at 10:14 pm #92848
    Syam Mohan
    Keymaster

    Hi Sherry,

    Roles are optional for a user. So if you don’t want secondary roles for a user, you can just remove them. You can remove them from the ‘Users’ menu by changing the primary role or by unassigning secondary role in ‘Assign/Migrate’ section.

    Thanks

    Syam

    December 20, 2019 at 2:14 am #92855
    Sherry
    Spectator
    This reply has been marked as private.
    December 20, 2019 at 9:45 pm #92873
    Syam Mohan
    Keymaster
    This reply has been marked as private.
  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions