Skip to content

docs(id): permission-prompt precedent survey (#5961) - #9031

Merged
dezren39 merged 2 commits into
mainfrom
queue/15309-5961-permission-precedents
Nov 12, 2026
Merged

dezren39 merged 2 commits into
mainfrom
queue/15309-5961-permission-precedents

Conversation

@dezren39

@dezren39 dezren39 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

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

  • Per-system survey of Google Play (Data safety + permission declarations), Android runtime permissions, iOS (privacy labels, ATT), Chrome extensions, Firefox extensions, OAuth 2.0 scopes/consent, macOS TCC, and Flatpak portals — for each: what's shown, when it prompts, what's remembered, and how grants are revoked or expire.
  • Failure literature: Felt et al. (SOUPS 2012) on why install-time-only lists failed (17% attention, 3% full comprehension), Kelley et al. on read-vs-understood, and the bundle/fatigue pattern behind OAuth scope creep.
  • A comparison table across all eight systems.
  • A shortlist mapped onto the two-sided (client user + server admin) grant model the design adopts, including the two precedents the design did not previously have: Android's "Only this time" one-shot grant and auto-reset of unused apps' permissions (recorded as survey observations, not decision changes — no settled id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960 decision is reopened).

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 activeTab semantics, 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.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 12, 2026 21:06
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9bda83ed-3f00-44d2-afd6-2c8ac8a358fe
Commits

Reviewing files that changed from the base of the PR and between 8064969 and c3dd31c.

Files selected for processing: 1

  • doc/2026-11-12T20-58-00Z_research_id_permission_precedents/2026-11-12T20-58-00Z_research_id_permission_precedents.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T21:09:24.049757Z 9c7b1c5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@dezren39
dezren39 merged commit 8f5c3ae into main Nov 12, 2026
7 checks passed
@dezren39
dezren39 deleted the queue/15309-5961-permission-precedents branch November 12, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant