Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After I create menu block with "Show block for specific roles" roles selected, only administrator or others with "bypass content access control" permissions can see block. It is hidden from other roles, even though they have been selected.
Have tested blocks not created by menu_block in the same installation, and they do not have this problem (i.e. they properly display for the selected roles and only the selected roles).
That all said, I have another installation where this is working.
Comments
Comment #1
Dave ReidSounds like the menu links themselves in the menu you're outputting are under access control? If so, then the visibility by role only affects the entire block if it has visible links.
Comment #2
JohnAlbin