Skip to content

id: design: permission UX — Play Store-style prompts, client-side vs server-side disclosure, admin grant modes #5960

Closed

Description

@dezren39

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.

Activity

  1. added
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    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.

    Record: workspace/scratch/worlds-capabilities-brief-2026-11-04/conversation-tie-ins.md (F4, F9).

  4. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  5. added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed on Nov 5, 2026
  6. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  7. 57 remaining items

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 8, 2026
  9. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  10. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · done

  11. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  12. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · done

  13. added a commit that references this issue on Nov 8, 2026
  14. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · the #5961 precedent survey this design names as its unresolved dependency is now filed (task 15309, lane code-c)

  15. developing-today commented on Nov 12, 2026

    @developing-today
    Contributor

    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:

    • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions