Skip to content

Add co-owner invitations and handed-stream controls - #5

Draft
pjeweb wants to merge 2 commits into
osb/access-refusedfrom
osb/T999
Draft

pjeweb wants to merge 2 commits into
osb/access-refusedfrom
osb/T999

Conversation

@pjeweb

@pjeweb pjeweb commented Nov 17, 2026 •

Copy link
Copy Markdown

I noticed owners on the phone could not inspect browser links to the access list or invite a co-owner by name. A helper handed a stream also lacked a view of what they could do and when that access ends.

  • Show links to the access list, their page state and expiry, with a confirmed End now.
  • Add owner names and named co-owner invitations with the explicit Make co-owner confirmation.
  • Add hand-over helper links and the receiving phone's role, permissions, expiry and Give the stream back. When the owner set an end time, the handed controls end then, even if the hub's next update comes late.
  • Group Crew by person, keep Who has access as its last row, and in the OSB build align the shared wording around “setup”. A build without OSB_BRAND keeps “Rig”.

The native views read the hub's state and access list. Actions follow the permissions in that list, and the hub checks each request. Another owner's waiting device has no Allow button; repeated HIDE throttling reads as already hidden.

Sits on #4.

Changes after review
  • When the owner set an end time, Show picture, Add a helper, Add a mod and Give the stream back no longer stay on screen past it. The phone checks that time against its own clock, wakes the panel then and says the handover ran out, so a late hub update doesn't keep them. The device's own role keeps its controls. Without an end time the handover lasts as long as the hub's state says, and the phone assumes no limit of its own. An end time the phone can't read counts as passed.
  • The stock build (no OSB_BRAND) keeps its earlier wording: Rig in Settings and the quick-button picker, the panel and join sheet texts, and the “Rig: …” name of the stream the hub sets up. Only the OSB build says “setup”.
  • When an owner takes the stream back, a helper hears it is a helper again, and a member device that it keeps what it could do before.
Validation and screenshots

The four hub suites pass on Mac Catalyst with and without OSB_BRAND: 46 tests each, no failures. The new tests cover an expired handover, one without an end time, a renewed one, a state that arrives after the end, the owner's view of an expired handover, take-back wording for a helper and a member, and the setup or rig wording in each build. The command uses deployment target 26.0 and an explicit -lc++ for the existing media libraries. Swiftformat and Swiftlint are unavailable on the runner.

Simulator builds succeed with and without OSB_BRAND. A reference-hub run covers a named co-owner invitation, the second confirmation, a hand-over link, the receiving phone's stream-scoped mod link, and take-back. Screenshot fixtures cover light, dark and large text. The recording uses command-line stand-ins and debug actions; it does not exercise a real camera, QR scan or system share sheet.

Before and after Crew at 1280 px, then a 390 px crop of the same panel; access links are shown separately. All screenshots use synthetic fixtures.

Before Crew, 1280 px
After Crew, 1280 px
Before Crew, 390 px panel crop
After Crew, 390 px panel crop
Access links, 1280 px
Access links, 390 px panel crop

@pjeweb pjeweb added fork-only Downstream-specific change; this change is not intended for upstream. stacked Sits on another open pull request. labels Nov 17, 2026
…ording

A handover with an end time set by the owner now stops offering Show
picture, Add a helper, Add a mod and Give the stream back at that time,
checked against a clock the tests control, even when the hub's next
state arrives late. The panel wakes at the end and says the handover ran
out. A handover without an end time lasts as long as the hub says so; an
end the phone can't read counts as passed. Base-role controls stay.

Without OSB_BRAND, Settings, the quick-button picker, the panel and join
sheet texts and the name of the provisioned stream keep saying "Rig";
only the brand build says "setup".

Taking the stream back tells a helper it is a helper again and a member
device that it keeps what it could do before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fork-only Downstream-specific change; this change is not intended for upstream. stacked Sits on another open pull request.

Development

Successfully merging this pull request may close these issues.

1 participant