def test_search_document_in_ip_with_other_user_responsible_without_permission_to_see_it(self):
        other_user = User.objects.create(username='other')
        self.group.add_member(other_user.essauth_member)

        ip = InformationPackage.objects.create(responsible=other_user)
        self.group.add_object(ip)

        document_tag = Tag.objects.create(information_package=ip)
        document_tag_version = TagVersion.objects.create(
            tag=document_tag,
            type=self.component_type,
            elastic_index="document",
        )
        File.from_obj(document_tag_version).save(refresh='true')

        res = self.client.get(self.url)
        self.assertEqual(res.status_code, status.HTTP_200_OK)
        self.assertEqual(len(res.data['hits']), 0)