docs: def set_bot_permissions(calendar_id, userid, level):
      """
      :param calendar_id: an integer representing calendar ID
      :param userid: a string representing the user's UW NetID
      :param level: a string representing the permission level
      :return: True if request is successful, False otherwise.
      raise DataFailureException or a corresponding TrumbaException
      if the request failed or an error code has been returned.
      """
      url = _make_set_permissions_url(
          calendar_id, userid, level)
      return _process_resp(url,
                           get_bot_resource(url),
                           _is_permission_set
                           )