[Jmap] Re: Publication has been requested for draft-ietf-jmap-calendars-16
"Murray S. Kucherawy" <superuser@gmail.com> Thu, 13 June 2024 15:17 UTC
Return-Path: <superuser@gmail.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 B3337C151076; Thu, 13 Jun 2024 08:17:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=gmail.com
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 w7sQZbNjmPuR; Thu, 13 Jun 2024 08:17:03 -0700 (PDT)
Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 AFF2EC151071; Thu, 13 Jun 2024 08:17:03 -0700 (PDT)
Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a6e9e122232so10524366b.3; Thu, 13 Jun 2024 08:17:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718291821; x=1718896621; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Otg7jqQt5nUUrxPdquWKcclAtpCX8dFOZkISCAZgzEU=; b=l6wPrf7zsdaE1yXcNefAPiIZz9BxVD1TYK9arFyVINFaEDS3KW7+fjXFtKnCByJePk mZMdQx63/H7K/2IN4ebxEGMttm0Ak2KqFk1tws87+x9i6D2HnwFsNlK7I6yeD3krEWcq mfU4po+9M8wYtiLgkjkljmb5V5Nx+8nEPkZQe/Nhqv3PZF9b+Ue+XZ+PFQEgIIG70xaf pp9Ua+DWvu8nxzQRyRfyIc4lkpVCAZIeL6ynuv/BazCB2RDYJDu69Tay5hXEZkQ2HvNn 0kL6ywnN0wIIG1LgRCcAIQShCx7o/RMntHQ+A1AIuQydVQQQKVGZy2ZE0SM1drtZq2n0 Jewg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718291821; x=1718896621; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Otg7jqQt5nUUrxPdquWKcclAtpCX8dFOZkISCAZgzEU=; b=LmXe4w0OwhIso/iBiKcKitqCYPap8gb3SdSOjxS1cPJQm24od23o46pIq/IS23FaaO iknJMZVAJqcAGL+d40miAU59T6XNNnUnTcrql4cDIs+Nvu6aV5hiI81r5rzOnkUCDYwd m7AG1wj8/yiDvA8ARptMoA9ihlBhmhkjXC0j96thXEZK3JNkvYS+GKQqr60rhmeLzTrj xl4Q1u5ZT6XlhsxlQ3Jz5jWI43Wo/kpg4BvaR6nmIM93wtjetwEyJSi5L0J3gPRG5SXP RDBKEHKu5Bu1aXuoUzavAlWqzvvyFEEHi1QwlI2d7T2U9uiSTFFJMScDM+eqq5mNTYVd 614A==
X-Forwarded-Encrypted: i=1; AJvYcCVtYIHR36UstIrz31dlvo3VBCWGiqyRjN6xcE5IvfkDyg6KHseVmYxZ0zm6ZOkYm7p1d5C2bYU2F0Szfg==@ietf.org
X-Gm-Message-State: AOJu0YyId7t+CNuix2NtUEuDgTuwgByyT2hOHzxcNHi9qa4Iyq2GraeW 9qVBKTfjCdK6EYSjzFLwMFiJORx78MEC/r5HcDAE4GbRDgFjYEUE31fVT0aGDUcard2dZzm7FJk bAJzl1ZuASoOqWwaGsYLnIADfX44=
X-Google-Smtp-Source: AGHT+IHy2zEYLs5ukVdCOKRMAZuUtrID68GVrMC+bkg33w5fLUaavvjKAlKxTvE3Lytj9VEDUHGzH7ivG+ajGgUizG4=
X-Received: by 2002:a17:907:7e96:b0:a6f:316f:fac4 with SMTP id a640c23a62f3a-a6f60db3a3amr3917566b.3.1718291821291; Thu, 13 Jun 2024 08:17:01 -0700 (PDT)
MIME-Version: 1.0
References: <171271459746.56976.12506360052632056403@ietfa.amsl.com> <CAL0qLwa7Lc_6RydV11NzbLTBnnC++ZpkmxeRDZgbfoSFD_iU7A@mail.gmail.com> <466f31f6-2ecc-4aaf-841a-db6efd929adc@dogfoodapp.fastmail.com>
In-Reply-To: <466f31f6-2ecc-4aaf-841a-db6efd929adc@dogfoodapp.fastmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Thu, 13 Jun 2024 08:16:49 -0700
Message-ID: <CAL0qLwa0VaarjB7GM35Gc=bPz=UzYcAXHaFhSqFGD2GnndaPrg@mail.gmail.com>
To: Neil Jenkins <neilj@fastmailteam.com>
Content-Type: multipart/alternative; boundary="000000000000a0ed3b061ac6fdca"
Message-ID-Hash: MY3JAZ7SQ47DPWTEUFNYVK726SFDVL6J
X-Message-ID-Hash: MY3JAZ7SQ47DPWTEUFNYVK726SFDVL6J
X-MailFrom: superuser@gmail.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: IETF JMAP Mailing List <jmap@ietf.org>, jmap-chairs@ietf.org, Joris Baum <joris@audriga.com>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Jmap] Re: Publication has been requested for draft-ietf-jmap-calendars-16
List-Id: JSON Message Access Protocol <jmap.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/N9FwtnBWgcNaHd0ww7O4VHp8luk>
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>
I'm asking the RFC Editor about "sharee" and we can apply whatever they suggest in the next revision, but otherwise thanks for all of that. I'll send it onward. -MSK On Thu, Jun 6, 2024 at 8:43 PM Neil Jenkins <neilj@fastmailteam.com> wrote: > Hi Murray, > > Thanks for the review. I have published an updated draft > <https://www.ietf.org/archive/id/draft-ietf-jmap-calendars-18.html> based > on your feedback. > > On Mon, 20 May 2024, at 16:42, Murray S. Kucherawy wrote: > > * What's the distinction being made in the registrations in terms of > "Intended Use"? Some are "common" while others are "reserved", but the > latter group seems to me to be going into common use by advancing this > protocol. > > > The "reserved" registrations are in the JSCalendar Properties properties > registry — I've added an RFC reference to make this a little more clear. > They are reserved because they are not properties you should see in > standalone JSCalendar files (indeed they would have no meaning they) — they > are only for protocol use (such as with JMAP Calendars). > > * Why the SHOULD in Section 3? How would a consumer interpret all of them > being false? When might a producer legitimately send them all as false? > The same issue appears in Section 4. > > > If they are all false, no default is suggested by the server and it is > client dependent. In the case of calendars, suppose you have 3 calendars, > one of them is the default, and you share only the 2 non-default ones with > another user. Does that user see one of those marked as default? In this > case I think it's better to just have none marked as default so the data is > consistent, rather than have the server arbitrarily pretend one is. > > * What interoperability problem is created if I disregard the SHOULD NOT > in Section 4.3? > > > Sending scheduling messages when not expected can definitely cause > significant confusion and interoperability issues. The notifications is > more a problem of being confusing to the user. I've rewritten as: > > *This MUST NOT send scheduling messages to participants. It SHOULD NOT > create CalendarEventNotification objects - a calendar with a large number > of events would create an overwhelming number of > CalendarEventNotifications. In systems supporting JMAP Sharing, a single > ShareNotification (as defined in JMAP Sharing, Section 3) MUST be created > for each principal the calendar was previously shared with, to inform them > they no longer have access to the calendar.* > > * The SHOULD NOT in Section 5.8 seems like it ought to be a MUST NOT for > integrity reasons. Why would one permit this? > > > Yeah, fair — I've changed to MUST NOT. (All clients I know already > implement this restriction.) > > * I disagree with the use of SHOULDs in Section 5.10.1. If you're giving > flexibility intentionally, then I think you should lowercase them all. > You've already given up on enforcing any kind of interoperability and made > it mushy in the paragraph that comes before them. > > > OK, changed. > > * The SHOULDs in Section 6 and 7 seem weakly supported to me. What's the > interoperability concern if one chooses to deviate from what's stated there? > > > The interoperability concern in 6.2 is around alerts being consistent > between all your devices — so if you dismiss the event on one device, it's > dismissed everywhere, rather than having to do it on each one. > > The one in 6.3 however is not an interoperability issue, just a data > cleanliness one, so I have lowercased it. > > In section 7, the first SHOULD I have changed to lowercase — creating > notifications is important to ensure the user is able to understand what > changes have been made to their calendar, but not doing so is not an > interoperability issue as such. The SHOULD NOT on deletion is consistent > with the 4.3 section discussed above. > > * In Section 2.1, the "accountId" definition with parenthetical stuff > removed reads: > > Id of Account with the urn:ietf:params:jmap:calendars capability that > contains the calendar data for this principal, or null if none, or the user > does not have access to any data in the account. The corresponding Account > object can be found in the principal's "accounts" property, as per Section > 2 > <https://datatracker.ietf.org/doc/html/draft-ietf-jmap-sharing-08#section-2> > of [I-D.ietf-jmap-sharing > <https://datatracker.ietf.org/api/v1/doc/document/draft-ietf-jmap-sharing/> > ]. > > I have trouble parsing that. Perhaps: > > > Id of Account with the urn:ietf:params:jmap:calendars capability that > contains the calendar data for this principal, or null if either (a) there > is none, or (b) the user does not have access to any data in the account. > The corresponding Account object can be found in the principal's "accounts" > property, as per Section 2 > <https://datatracker.ietf.org/doc/html/draft-ietf-jmap-sharing-08#section-2> > of [I-D.ietf-jmap-sharing > <https://datatracker.ietf.org/api/v1/doc/document/draft-ietf-jmap-sharing/> > ]. > > ...assuming I understand what's going on here. > > > Yes, that's clearer thanks. > > * In Section 2.1, the definitions of "mayGetAvailability" and > "mayShareWith" (booleans) are posed as questions, while in Section 2.2 the > boolean is defined with "If true, ...". I think the latter reads better > and suggest changing the others. > This appears again in Section 4 for "isVisible" and > "includeInAvailability", but curiously not with the ones starting "may". > > > Sure, done. > > * At the end of Section 3.3, "uri values" should be "URI values". > > > Thanks, fixed. > > * In Section 4, there's this: > > > True if the user has indicated they wish to see this Calendar in their > client. This should default to false for Calendars in shared accounts the > user has access to and true for any new Calendars created by the user > themself. > > > > If false, the calendar should only be displayed when the user explicitly > requests it or to offer it for the user to subscribe to. For example, a > company may have a large number of shared calendars which all employees > have permission to access, but you would only subscribe to the ones you > care about and want to be able to have normally accessible. > > The first paragraph refers to users in the third person, the second uses > the second person. I suggest normalizing on the third. > > > Agreed, done. > > * Section 4 recommends use of UUIDs; you can make a reference here to RFC > 9562. > > > Sure, done. > > * Section 4.3 (and I missed it in 2.1) uses the word "sharee", and I know > what it's supposed to mean, but it doesn't appear in either Merriam-Webster > or Oxford. Have we used it in RFCs previously? > > > It's (unsurprisingly) used in the JMAP Sharing > <https://www.ietf.org/archive/id/draft-ietf-jmap-sharing-08.html> draft, > currently awaiting the RFC editors, but not in any published draft I think. > I guess see if the RFC editors make any changes in that draft, and if so > we'll update calendars to match? > > * In Section 5.8, it says "Clients SHOULD NOT allow users to manually edit > anything ..."; why is "manually" there? What other kinds of editing are > you considering? > > > Yeah, right. That should just say "edit". No idea why I added the > superfluous other word. Fixed. > > * Staying with Section 5.8: > > > Similarly, the "utcEnd" property is translated into a "duration" > property if set. It MUST NOT be set in addition to a "duration" property > and it cannot be set inside "recurrenceOverrides"; this MUST be rejected > with an invalidProperties SetError. > > This might be a function of the rendering of the document (I read it via > the HTML link in the datatracker), but (a) it seems to me > "invalidProperties" should be quoted, just like the other tokens are, and > as a result of observing that, now I've noticed that (b) quoting of tokens > (as rendered to me at least) is generally inconsistent throughout the > document. > > > They are all marked as <tt> in the XML, which translates to <code> in the > HTML version. This is rendered with a light grey background and monospace > font. This is perhaps more a problem with the rendering style? > > * In Section 5.2, there's a reference to "[?@RFC8607]"; is this a > rendering problem or a typo? > > > This was an error in my source document — it should be an informative > reference to RFC8607, fixed. > > Cheers, > Neil. >
- [Jmap] Publication has been requested for draft-i… Bron Gondwana via Datatracker
- [Jmap] Re: Publication has been requested for dra… Murray S. Kucherawy
- [Jmap] Re: Publication has been requested for dra… Neil Jenkins
- [Jmap] Re: Publication has been requested for dra… Murray S. Kucherawy
- [Jmap] Re: Publication has been requested for dra… Murray S. Kucherawy
- [Jmap] Re: Publication has been requested for dra… Neil Jenkins