**Apache Airflow version**: 2.1.1

**What happened**:

For user with "Op" role following menu items are not visible in navigation panel, however pages are accessible (roles has access to it):
- "Browse" -> "DAG Dependencies"
- "Admin" -> "Configurations"

**What you expected to happen**: available menu items in navigation panel
tests/www/test_security.py
user = mock.MagicMock()
            user.is_anonymous = True
            perms_views = set()
            for role in self.security_manager.get_user_roles(user):
                perms_views.update(
                    {(perm_view.permission.name, perm_view.view_menu.name) for perm_view in role.permissions}
                )
            assert perms_views == viewer_role_perms
    @mock.patch('airflow.www.security.AirflowSecurityManager.get_user_roles')
    def test_get_current_user_permissions(self, mock_get_user_roles):
        role_name = 'MyRole5'
        role_perm = 'can_some_action'
        role_vm = 'SomeBaseView'
        username = 'get_current_user_permissions'
        with self.app.app_context():
            user = api_connexion_utils.create_user(
                self.app,
                username,
                role_name,
                permissions=[
                    (role_perm, role_vm),
                ],
            )
            role = user.roles[0]
            mock_get_user_roles.return_value = [role]
            assert self.security_manager.get_current_user_permissions() == {(role_perm, role_vm)}
            mock_get_user_roles.return_value = []
            assert len(self.security_manager.get_current_user_permissions()) == 0
    @mock.patch('airflow.www.security.AirflowSecurityManager.get_user_roles')
    def test_current_user_has_permissions(self, mock_get_user_roles):