OCM sharing joins the share panel as a federated addressee #603
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#603
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #572 during mockup review. Peering and OCM turned out to be two intentions, not two transports: peering sends a copy (pushed, recipient's inbox, theirs from then on, not revocable, lives in Transfers); OCM shares access (an invitation the remote person comes and picks up, revocable from here, lives in My shares). #572 narrows to the send; this issue is the share.
Drawn in
batch-a-572-577-598-mockup-rev2.html, blocks 4–5.Scope
Federatedtag plus the host — the tone the UI already uses for "reachable beyond this instance". Only established OCM contacts appear; no entry is invented for arbitrary hosts (#552 rule).AddresseeKindgrows a federated kind (or an addressee field carryinguser@host) — store decision at build time.Federatedbadge and the host; Revoke works.Not in scope
House rules
i18n ×4; #389 fence gate; phone treatment inherits the share panel's sheet; no competitor product names in UI copy ("OCM"/"Open Cloud Mesh" is a protocol name and fine).
Mockup approved (batch A rev 2, blocks 4–5, no markup — ships as drawn): merged tagged picker, boundary notebox before confirm, federated grant in My shares with working Revoke.
Shipped in v0.6.217 (PR #608), live on both dogfoods. As approved (batch A rev 2, blocks 4–5): the recipient picker offers established OCM contacts tagged
Federatedwith the host (purefed-matchesblock — no entry invented for unknown hosts, per #552); picking one surfaces the boundary notice; Add creates the OCM share through the existing endpoint with the panel's role mapped to perms. My shares lists outbound federated shares between grants and links (host + Federated badge + role) with a working revoke via/api/v1/ocm/shares/out/{id}/end. The interim free-text "send to a federated address" row, its CSS kill-switch, handler, and dead i18n keys are gone. i18n ×4.Not in scope, as written: the receiving side's surface, and OCM server admin. Worth a live A↔B eyeball once a second OCM-speaking instance is around (pairs naturally with #106's peering dogfood). Closing.