If the problem is resolved by refreshing the page, that sounds like it’s mostly an issue related to caching. I’ve never been able to find a way to load the menu in a way that breaks through strong page caching.
Thank you for your answer. I disabled server cache and problem is still here. Site uses only WooCommerce cache. Some pages seem like user is authorized and some like he’s not. Could you help me with this problem?
The plugin checks current_user_can( $role )
and decides if the item is visible or not. Can you post a screenshot of your settings?
Now $role
is a better UI in the admin menu setup, but role can be a little fuzzy if different roles have overlapping capabilities. Capabilities are what we really ought to be using if we want to be precise about who can see what, but then we’d have 100+ options in the admin too so I went with Roles.
For example, an issue that came up the other day is a menu item was assigned to a Role called s2member_level1
and so when a s2member_level2
was on the site there was confusion as to why they couldn’t see the s2member_level1
menu item. It was because the shared capability was actually different from the role name.
Not sure that’s happening here, but wanted to mention it.
Still… the most common other issue is usually some kind of caching… plugin, server, maybe even browser though that would be a first for me. Woo doesn’t have any static HTML caching that would interfere with the menu.