You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to diagram sharing phase 1 (#76). Phase 1 resolves grantee emails to canonical ids for already-registered users only (resolve-existing); sharing with an unregistered email returns 404.
Scope
Allow sharing with a not-yet-registered email: store a pending grant (grantee = null, grantee_key = email). A null grantee matches nobody, so the grant is inert until filled.
On the grantee's first sign-in, sweep _shares by grantee_key = email and fill grantee = canonical_id (in resolve_or_create_identity).
Preserve the original email in grantee_key at share time (phase 1 currently stores the resolved canonical id there in OAuth mode).
Follow-up to diagram sharing phase 1 (#76). Phase 1 resolves grantee emails to canonical ids for already-registered users only (resolve-existing); sharing with an unregistered email returns 404.
Scope
grantee = null,grantee_key = email). A nullgranteematches nobody, so the grant is inert until filled._sharesbygrantee_key = emailand fillgrantee = canonical_id(inresolve_or_create_identity).grantee_keyat share time (phase 1 currently stores the resolved canonical id there in OAuth mode).References
docs/design/diagram-sharing.mddocs/design/diagram-sharing-phase1-plan.md(grantee resolution, step 1c-ii)