Title: Minimum User Not Working
Last modified: April 30, 2021

---

# Minimum User Not Working

 *  Resolved [devonsays](https://wordpress.org/support/users/devonsays/)
 * (@devonsays)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minimum-user-not-working/)
 * Hello
 * The roles seem to be quite strict.
 * Right now, a user needs to be the selected role and only that selected role in
   order to see the menu item.
 * If I have selected for one role to see this item, but the user belongs to that
   role among others, then they cannot see the menu item.
 * Is there a way to work around this?
 * I am using the Memberpress Membership System to create roles and my theme is 
   Divi.
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/minimum-user-not-working/#post-14633409)
 * [@devonsays](https://wordpress.org/support/users/devonsays/) – Sorry for the 
   delay and confusion.
 * I don’t see why that would happen. Our code loops over all chosen roles and simply
   sets a variable to true if any matches are found. It doesn’t subsequently overwrite
   that value with a false if the next doesn’t match. Thus 1 true is enough.
 * [https://github.com/JunglePlugins/User-Menus/blob/master/includes/classes/site/menus.php#L53-L77](https://github.com/JunglePlugins/User-Menus/blob/master/includes/classes/site/menus.php#L53-L77)
 * That said it does depend on if you chose whether or not the chosen role can view
   it or not as well. So there is some logic there to invert that but its well documented.

Viewing 1 replies (of 1 total)

The topic ‘Minimum User Not Working’ is closed to new replies.

 * ![](https://ps.w.org/user-menus/assets/icon-256x256.png?rev=1507838)
 * [User Menus - Nav Menu Visibility](https://wordpress.org/plugins/user-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/user-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-menus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/minimum-user-not-working/#post-14633409)
 * Status: resolved