def can_access_board_backend(request):
    """Whether the given user can access the given board backend."""
    user, board = request.user, request.board
    if board.owner == user:
        return True
    elif user.is_superuser:
        return True
    return False
