def METHOD_NAME(self, request: Request, organization) -> Response:
    """
    Get list of requests to join org/team
    """
    if request.access.has_scope("org:write"):
        access_requests = list(
            OrganizationAccessRequest.objects.filter(
                team__organization=organization,
                member__user_is_active=True,
                member__user_id__isnull=False,
            ).select_related("team")
        )
    elif request.access.has_scope("team:write") and request.access.team_ids_with_membership:
        access_requests = list(
            OrganizationAccessRequest.objects.filter(
                member__user_is_active=True,
                member__user_id__isnull=False,
                team__id__in=request.access.team_ids_with_membership,
            ).select_related("team")
        )
    else:
        # Return empty response if user does not have access
        return Response([])
    return Response(serialize(access_requests, request.user))