[Jmap] Re: Gunter Van de Velde's No Objection on draft-ietf-jmap-contacts-09: (with COMMENT)

Neil Jenkins <neilj@fastmailteam.com> Fri, 31 May 2024 05:18 UTC

Return-Path: <neilj@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 72CAFC15153F; Thu, 30 May 2024 22:18:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b="ALNZssr2"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="CPoRXzaW"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2UVXdYBaaCNm; Thu, 30 May 2024 22:18:34 -0700 (PDT)
Received: from wfhigh7-smtp.messagingengine.com (wfhigh7-smtp.messagingengine.com [64.147.123.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C834BC14F600; Thu, 30 May 2024 22:18:34 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id DE1EF1800092; Fri, 31 May 2024 01:18:33 -0400 (EDT)
Received: from imap43 ([10.202.2.93]) by compute5.internal (MEProxy); Fri, 31 May 2024 01:18:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1717132713; x=1717219113; bh=Sh5ioOgeZ4Pn64RsrRowHXIEMguU6yQSpNIlrvT6iuE=; b= ALNZssr25Qr5oacAVWr0K0IVqAWp4IiKxywUmIfSr9xhchuRQsk8vK8AVFjBB+Ps KQ0LLoFAiDXgHJAhyPucVBBFgXG0XJocNoFaa32pxuBksqkLFpZdtGZg+40dgXCO yq1kTF81AYz0d2dIv8algM72GyXnqyrKSozfZGucawJd6PEReAyN0J81AtSXVXpt PY2TEbi5mBc/SSmiBL3EY7F+sTrytde2kABKeB80cYoovyPjJbWSmXkUpcCvwj3i 2+gvhKNLDAvp+b2984+jVBL29CG8AlUzeATLHAXDKhuGpG8WCi/lUl67kdnFZbBd o2PRV//z+AbO7frdwRUDYw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717132713; x=1717219113; bh=Sh5ioOgeZ4Pn64RsrRowHXIEMguU 6yQSpNIlrvT6iuE=; b=CPoRXzaWnYhWPEv4sv5E7L9AY1Xt5ZaGFf7VOqSKTo2t IfT4PdK7ojTRaEfxpRlviFmF5+y7Lz2gh7EI1j6Zr+3FX5LWY18/jr9XO4HGPdw7 WRzDiK4s5403s5lJB/2nhSq4S+jzES5Rm/rR9LkfPt9VE8c5TyHeoLjBP7PGPrFN 4ANGYSB0h0liPh6wxvR0H9ESaY2vMRxRlVH7oeFtXuc8DzApUW/fK8eSL72dufmv HY9tqE5ektE4zumnDr2o8gkdLkMyzGI5yJIhDe5zmpVloQBK2L+OaCQwBi7cpKAU 7m7OPFUkxdNfqc47ah7Q2URVg9LMevniQXjmQpTCAA==
X-ME-Sender: <xms:qV1ZZlW_nx2YIlHROdMORtIyzFnUgLnoJsQU0OdECogoi42JNcarbA> <xme:qV1ZZlnxPIOoH_UWX2cAeYAkh6bXWuRqAHm12_N3pObQtXlLoh1kHLvLK1JxK2Rlt Vqwv5nP5s6uBg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekhedgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsegrtderreerredtnecuhfhrohhmpedfpfgv ihhlucflvghnkhhinhhsfdcuoehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomh eqnecuggftrfgrthhtvghrnhepueehieefvddukeffueeguddtvefgheekteeguedtkeek leehfeekuedutdetgefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepnhgvihhljhesfhgrshhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:qV1ZZhYRNUX3GE56-tCLdwNlP7qtpJfgW7CULA3-1VubzNrCNinH8w> <xmx:qV1ZZoV2HT5Di4HiMKPyoLsEyfg7W_x3S8LEW1-MhHI9nxSLiPTYWw> <xmx:qV1ZZvm45r9kX52-4KckBU6zHT1Nq9K05Mekx2Nnf2oe9Pgt3kJ9Iw> <xmx:qV1ZZlcU3_PsWLYqiOpG8wcJAL4zK5BOyLfB7UVt_bX28TbJSGm2zg> <xmx:qV1ZZqswn9JL7zhHWXrkuk2Rg-KC2aFE4n4kigfy9d8iyvMlJ13AO4vy>
Feedback-ID: ibc614277:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0BDB12D4007D; Fri, 31 May 2024 01:18:33 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-497-g97f96844c-fm-20240526.001-g97f96844
MIME-Version: 1.0
Message-Id: <25fee8e2-e891-43a6-a827-45f37d54ac05@dogfoodapp.fastmail.com>
In-Reply-To: <171645398129.23262.2685990357749123472@ietfa.amsl.com>
References: <171645398129.23262.2685990357749123472@ietfa.amsl.com>
Date: Fri, 31 May 2024 15:18:17 +1000
From: Neil Jenkins <neilj@fastmailteam.com>
To: Gunter Van de Velde <gunter.van_de_velde@nokia.com>, iesg <iesg@ietf.org>
Content-Type: multipart/alternative; boundary="9c068dbb501f4917830cf5186e7beddb"
Message-ID-Hash: XYH7CBIKQIGJKPDONEZ2KTB54G7UT6MN
X-Message-ID-Hash: XYH7CBIKQIGJKPDONEZ2KTB54G7UT6MN
X-MailFrom: neilj@fastmailteam.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-jmap.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-jmap-contacts@ietf.org, jmap-chairs@ietf.org, IETF JMAP Mailing List <jmap@ietf.org>, Jim Fenton <fenton@bluepopcorn.net>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Jmap] Re: Gunter Van de Velde's No Objection on draft-ietf-jmap-contacts-09: (with COMMENT)
List-Id: JSON Message Access Protocol <jmap.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/zAP_iYBkb8llUwQaaVEmlQqZlMc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Owner: <mailto:jmap-owner@ietf.org>
List-Post: <mailto:jmap@ietf.org>
List-Subscribe: <mailto:jmap-join@ietf.org>
List-Unsubscribe: <mailto:jmap-leave@ietf.org>

Hi Gunter,

Thank you for your review.

On Thu, 23 May 2024, at 18:46, Gunter Van de Velde via Datatracker wrote:
> 191        *  *isDefault*: Boolean (server-set)
> 192           This SHOULD be true for exactly one AddressBook in any account,
> 193           and MUST NOT be true for more than one AddressBook within an
> 194           account.  The default AddressBook should be used by clients
> 195           whenever they need to choose an AddressBook for the user within
> 196           this account, and they do not have any other information on which
> 197           to make a choice.  For example, if the user creates a new contact
> 198           card, the client may automatically set the card as belonging to
> 199           the default AddressBook from the user's primary account.
> 
> What if none is set true? will there then be a random selected at default?
> is there a mechanism or desire to make such selection deterministic?

It is entirely up to the client in this case to just choose one, if there is more than one and no default specified. If you are in this situation, I don't really see any value in trying to recommend a deterministic choice in this document. (It's probably better for the client to prompt the user to choose a default, but we're getting into UI territory here and we don't need to specify this at the protocol level).

> 201        *  *isSubscribed*: Boolean
> 
> 203           True if the user has indicated they wish to see this AddressBook
> 204           in their client.  This should default to false for AddressBooks in
> 205           shared accounts the user has access to and true for any new
> 206           AddressBooks created by the user themself.
> 
> 208           If false, the AddressBook and its contents should only be
> 209           displayed when the user explicitly requests it or to offer it for
> 210           the user to subscribe to.
> 
> is there a reason why this section does not use [RFC2119] [RFC8174] language?

Looking at it, I think these should be BCP SHOULDs; I'll update the draft.

Cheers,
Neil.