Hide Issues item in group and top menu when no project with issues is accessible

We have issues disabled by default on all projects. So currently most users don't have access to any project with issues enabled, yet both in the group menu and the top menu there's an Issues item.

This is confusing as users are then unable to select any project to create the issue in on that page.

I think it would be better to hide these menu items, either by a setting (global? on group?) or ideally when a user has no access to any projects with issues enabled.

The Milestones menu item is linked to this, so should probably be hidden under the same conditions.

Assignee Loading
Time tracking Loading