Repository navigation
docs(id): permission-prompt precedent survey (#5961) - #9031
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9c7b1c51e7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| **Adopt — disclosure before connection (listing-time layer).** Play's Data safety section and iOS labels show the shape: a fixed-taxonomy, plain-language declaration shown *before* commitment, separate from any grant. The design's pre-connect disclosure is exactly this layer, with one improvement the precedents lack: splitting the list into client-side and server-side groups, because Play/iOS lists address a single party. Caveat from §2: this layer informs; it must not be treated as consent (Kelley: users read the store page as the store's vetting, not their own decision). | ||
|
|
||
| **Adopt — just-in-time prompts for client-side capability use.** Android runtime prompts, TCC first-access prompts, Chrome/Firefox optional-permission requests, and portal mediation all converged on asking in context, at first use. This supports the design's client-side per-capability granting and its graceful-degradation rule: a capability denied at first use leaves the world loaded with that capability inert, the same shape as an Android app running with a denied permission. |
There was a problem hiding this comment.
Distinguish first-use prompting from the settled grant timing
The survey presents first-use prompting as an adopted pattern supporting #5960, but doc/2026-11-08T09-06-08Z_design_id_permission_ux/2026-11-08T09-06-08Z_design_id_permission_ux.md §1.2 (lines 106–107) explicitly requires client-side grant decisions at first connect, before capability use. Together with the preceding paragraph's instruction that pre-connect disclosure must not be treated as consent, this gives implementers conflicting grant-timing contracts despite the survey's promise not to reopen settled decisions. Record just-in-time prompting as a proposed divergence requiring a design decision, or describe the existing pre-connect grant flow accurately.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in c3dd31c. You were right: the design doc's §1.2 settles client-side grant decisions at first connect, before capability use (disclosure explicitly not consent), with in-context delta prompts only on capability change — the survey's "Adopt — just-in-time prompts" paragraph misdescribed that as per-capability first-use prompting. The paragraph now describes the settled timing accurately (in-context prompts, at the design's settled timing), and §5 gains item 3 recording per-capability just-in-time prompting as a proposed divergence that requires a design decision by the #5960 owner, not an adopted pattern.
…rst-connect timing (#5961) Codex review on PR #9031 (P2): the survey presented just-in-time first-use prompting as adopted, but the #5960 design (doc/2026-11-08T09-06-08Z_design_id_permission_ux, section 1.2) settles client-side grant decisions at first connect, before capability use, with delta prompts on capability change. The Adopt paragraph now describes the settled timing accurately, and section 5 records per-capability just-in-time prompting as a proposed divergence requiring a design decision.
What
Lands the permission-prompt precedent survey that issue #5961 commissions and the merged permission-UX design (#5960, PR #7594) names as its unresolved precedent dependency:
doc/2026-11-12T20-58-00Z_research_id_permission_precedents/.Documentation-only; no code changes.
Contents
Sources and verification
Every platform claim comes from a primary source fetched 2026-11-12 (vendor developer docs, RFC 6749/7009, the SOUPS paper). Link check: all 15 external URLs in the doc were requested — 14 return HTTP 200; the ResearchGate copy of Kelley et al. bot-walls curl (403) but serves browsers, and its abstract was read via search. Facts that could not be verified against a fetched primary page (parts of iOS prompt mechanics, Chrome
activeTabsemantics, TCC internals, Flatpak permission CLI) are marked [unverified in this pass] inline and are not load-bearing for the shortlist.Internal links: #5961, #5960, #5955, #5959, PR #7594 — all live issues/PRs, verified at filing.
Issue #5961 stays open until this research lands, per its acceptance criteria.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.