

def has_delete_permissions(self, request, default_reviewer, *args, **kwargs):
    return default_reviewer.is_mutable_by(request.user)

dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/resources/default_reviewer.py DefaultReviewerResource.has_delete_permissions/original