I had two menu items which would show up in every role no matter what I did, even for anonymous users. I examined the two closely and the only thing I could see they had in common was both had a weight of 10. I changed the weights from 10 to 9, and they disappeared! I'm not sure if maybe somewhere in the code it's looping through up to 9, but not including 10 ...


hutch’s picture

very odd. menu_per_role does not look at weights at all , it just maps menu ids to role ids and alters the form so that permissions can be set. Sometimes the menu system does play up, emptying the cache_menu table can help.

AlexisWilke’s picture

Status: Active » Closed (won't fix)

This is now 2 years old so I'm closing it. If you can co-maintain, let us know.