async def METHOD_NAME(self, role: UserRole) -> None:
    dataset = await DatasetFactory.create()
    await TextFieldFactory.create(dataset=dataset, required=True)
    await TextQuestionFactory.create(dataset=dataset, required=True)
    await RecordFactory.create_batch(dataset=dataset, size=10)
    user = await UserFactory.create(role=role, workspaces=[dataset.workspace])
    api.init(api_key=user.api_key)
    remote_dataset = FeedbackDataset.from_argilla(id=dataset.id)
    with pytest.raises(PermissionError, match=f"User with role={role} is not allowed to call `delete`"):
        remote_dataset.delete()