**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
with assert_queries_count(1):
            pvs = self.security_manager._get_all_non_dag_permissions()
        assert isinstance(pvs, dict)
        for (perm_name, viewmodel_name), perm_view in pvs.items():
            assert isinstance(perm_name, str)
            assert isinstance(viewmodel_name, str)
            assert isinstance(perm_view, self.security_manager.permissionview_model)
        assert ('can_read', 'Connections') in pvs
    def test_get_all_roles_with_permissions(self):
        with assert_queries_count(1):
            roles = self.security_manager._get_all_roles_with_permissions()
        assert isinstance(roles, dict)
        for role_name, role in roles.items():
            assert isinstance(role_name, str)
            assert isinstance(role, self.security_manager.role_model)
        assert 'Admin' in roles
    def test_prefixed_dag_id_is_deprecated(self):
        with pytest.warns(
            DeprecationWarning,
            match=(
                "`prefixed_dag_id` has been deprecated. "
                "Please use `airflow.security.permissions.resource_name_for_dag` instead."
            ),
        ):
            self.security_manager.prefixed_dag_id("hello")