Reserved forums appear in Drupal Menus even though the user does not have access to them. (i.e their role does not allow them access to that forum). If the user clicks on the menu link they are (correctly) denied, but the links should not appear. This works correctly in Drupal 6.

We're using the latest revs but this has been present in all the previous revs we've tried.

Comments

salvis’s picture

Status: Active » Postponed (maintainer needs more info)

I cannot reproduce this.

I went to admin/structure/menu/manage/navigation/add and created a link to, say, forum/5. That link is showing for users who can View forum/5 and not showing for those who can't. AFAICS this is working exactly as it should.

Is there some third-party module involved on your site?

pandroid’s picture

Unfortunately yes - we have 64 additional modules at the last count, including book_access, chain_menu_access, & content_access.

If you cant find it we'll have to debug it and will let you know what the issue is when we find it.

salvis’s picture

I don't think it's one of the *_access modules, but the circumstances and your capitalization of "Drupal Menus" makes me suspect that you're using non-standard menus.

pandroid’s picture

I tried this on a base Drupal 7 system, and you are right - it works correctly.

In our case, it turns out that if I delete and reinstate the Forum Containers, correct behaviour is restored. That implies it is some debris in our database, which dates back to Drupal 5.

Thanks for your help, you can close this.

(...and don't take any notice of capitalisation. We are using standard menus).

salvis’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Ok, thanks for following up. I'm glad you found a way to fix it on your site.