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
{{ message }}
Repository navigation
id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960
Part of the worlds design program: #5955. Statements S19–S23 of the 2026-11-04 brief.
Requirement (Drew, in substance)
Design the permission system for worlds — at least in the user-friendly examples and main interfaces, a simple version of what the Play Store does: before you connect, it tells you what the thing can do.
The disclosure must distinguish whose capability is exercised: "this app connects to the internet using your client" is a different sentence from "this app reads things from the internet through the server side." Client-side and server-side capabilities are presented as separate lines, because they implicate different parties.
Granting server-side capabilities is a server admin decision.
Admin grant modes to support: approve generally; ignore for all time for specific websites; ignore for specific permissions; YOLO mode — don't worry about anything.
The client-side analog (per-user memory of grants) should mirror the same shape: ask once, remember per world / per permission / globally, with YOLO as an explicit user choice, not a default.
Design points to settle
Prompt content: the requested set and the discovered-used set (capability-model child of #5955) — show both when they differ ("asks for X, only uses Y").
When prompts fire: first connect, capability change (see the change-notices child), never on an unchanged reconnect for a remembered grant.
What a denial does: world still loads with the denied capability inert, or connection refused? Per-capability granularity implies the former is possible — say which capabilities are load-bearing.
YOLO mode scoping: per-server, per-user, time-boxed? It must be loud in the UI that it's on.
Related
Knowledge-layer sharing & permissions (different layer, same vocabulary problem): #5840
Capability-change notices and permission precedents research: children of #5955
Done looks like
A UX design: prompt mock/content spec for client-side and server-side grants, the admin grant-mode matrix, memory/remembering rules, and denial semantics.
Wave-2 tie-in (conversation archaeology, findings F4 + F9) — the engine exists; this is its presentation layer.
Drew settled the substrate question on 2026-10-09: ACL-vs-OCAP was asked explicitly, and the capability/delegation side won. The group/permission system shipped in Phases 0–8 (permission sets for anonymous/registered/confirmed groups; access/read, manage/write, admin levels). What never got built is the user-facing Play-Store-style presentation — this design is that layer over the existing engine, scoped to UX + admin policy presets, not a new engine.
Hard constraint (F9, settled and built 2026-10-29 on #170, implemented in pkgs/id/src/groups/delegation.rs): delegation is attenuate-only and never amplifies; revoke cascades by reachability; no function values inside the replicated log — removals resolve pre-emission with the concrete mode logged, because every peer folds the log identically. Any function-valued permission or grant in this UX must respect the pre-emission rule. Do not re-derive these semantics.
🤖 Agent note · the #5961 precedent survey this design names as its unresolved dependency is now filed (task 15309, lane code-c)
Survey: PR docs(id): permission-prompt precedent survey (#5961) #9031 adds doc/2026-11-12T20-58-00Z_research_id_permission_precedents/ — per-system precedent survey (Google Play, Android runtime, iOS, Chrome, Firefox, OAuth, macOS TCC, Flatpak portals), failure literature, comparison table, and a shortlist mapped onto this design's two-sided grant model.
Effect on this design: the survey confirms the adopted patterns with per-decision citations (Play-shaped pre-connect disclosure; Workspace admin pre-consent as the server-side precedent; per-capability client granting with inspectable memory; incremental-over-bundled requests). It reopens nothing.
Two observations recorded for the design owner (in §5 of the survey, as survey output, not decision changes): (1) Android's "Only this time" one-shot grant has no counterpart in the design's grant-mode matrix; (2) Android's auto-reset of unused apps' permissions is the only precedent for grant decay — whether stale world grants should fall back to ask-again is left as an open question.
The permission-prompt precedent survey from issue #5961 has landed (PR #9031, merged 8f5c3ae): doc/2026-11-12T20-58-00Z_research_id_permission_precedents/2026-11-12T20-58-00Z_research_id_permission_precedents.md
How it bears on this design (#5960), per the survey's §4–§5:
Confirmed with citations: Play/iOS-shaped pre-connect disclosure that informs but is not consent; the two-party (client-side vs server-admin) split (no precedent merges both parties into one list; Google Workspace pre-consent is the closest two-sided model); per-capability client granting with inspectable memory as the revocation surface; admin-decided server side disclosed-not-asked to users; incremental (capability-change delta) requests over install-time bundles; rejection of install-time all-or-nothing consent and of free-text capability warnings.
New information offered as survey output, not decision changes (§5): (1) a one-time/session-scoped grant mode (Android "Only this time") absent from the design's grant-mode matrix; (2) grant decay for unused worlds (Android auto-reset) as an open question; (3) a recorded divergence — the dominant precedent timing is per-capability just-in-time prompting, while this design's settled §1.2 timing is a grant decision at first connect with delta prompts on change. Item 3 was corrected into the survey during PR docs(id): permission-prompt precedent survey (#5961) #9031 review (Codex P2): JIT prompting is a proposed divergence requiring a design decision by this issue's owner, not an adopted pattern. Nothing in the survey reopens a settled decision without that decision being made here.
Activity
developing-today commentedon Nov 5, 2026
CODE-1626
dezren39 commentedon Nov 5, 2026
Wave-2 tie-in (conversation archaeology, findings F4 + F9) — the engine exists; this is its presentation layer.
pkgs/id/src/groups/delegation.rs): delegation is attenuate-only and never amplifies; revoke cascades by reachability; no function values inside the replicated log — removals resolve pre-emission with the concrete mode logged, because every peer folds the log identically. Any function-valued permission or grant in this UX must respect the pre-emission rule. Do not re-derive these semantics.Record:
workspace/scratch/worlds-capabilities-brief-2026-11-04/conversation-tie-ins.md(F4, F9).developing-today commentedon Nov 5, 2026
🤖 Agent note · handed off
57 remaining items
dezren39 commentedon Nov 8, 2026
🤖 Agent note · handed off
design(id): permission UX for worlds — pre-connect disclosure, grant …
developing-today commentedon Nov 8, 2026
🤖 Agent note · done
developing-today commentedon Nov 8, 2026
🤖 Agent note · done
doc/2026-11-08T09-06-08Z_design_id_permission_ux/plus the planning/architecture/README.md index line, and the design doc blob is present at main (verified via contents API). Issue id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960 is CLOSED. No Codex reviews existed on PR design(id): permission UX for worlds — pre-connect disclosure, grant modes, memory #7594 (per lane code-r's check, undispositioned-findings gate clear).design(id): note that #5960 is closed but its record is landed (#5973)
dezren39 commentedon Nov 12, 2026
🤖 Agent note · the #5961 precedent survey this design names as its unresolved dependency is now filed (task 15309, lane code-c)
doc/2026-11-12T20-58-00Z_research_id_permission_precedents/— per-system precedent survey (Google Play, Android runtime, iOS, Chrome, Firefox, OAuth, macOS TCC, Flatpak portals), failure literature, comparison table, and a shortlist mapped onto this design's two-sided grant model.docs(id): record JIT prompting as proposed divergence from settled fi…
developing-today commentedon Nov 12, 2026
agent-note:v1
state: done
task: 15309
lane: code-d
worker: repo-worker-code
The permission-prompt precedent survey from issue #5961 has landed (PR #9031, merged 8f5c3ae): doc/2026-11-12T20-58-00Z_research_id_permission_precedents/2026-11-12T20-58-00Z_research_id_permission_precedents.md
How it bears on this design (#5960), per the survey's §4–§5: