Skip to content

OSB: helper and mod links, who hid, and Who has access - #3

Draft
pjeweb wants to merge 2 commits into
osb/T977from
osb/T991
Draft

pjeweb wants to merge 2 commits into
osb/T977from
osb/T991

Conversation

@pjeweb

@pjeweb pjeweb commented Nov 17, 2026

Copy link
Copy Markdown

I noticed that an owner could only let a helper or a mod in from the command line, and that the phone never said who had hidden the picture or who could reach the stream at all.

What it adds

  • Crew: make a helper link or a mod link on the phone, share it with the system share sheet or as a code to scan, see the links that are still open, and end one. A helper still waits for Allow, and Allow is on the rig panel as its one filled button.
  • Who has access: every device, helper, mod and unused invite with its role, a plain "Can … Can't …" sentence, how it joined, who gave it and when it ends. Allow, Remove or End now with one confirm, Change when it ends, and what happened.
  • Who hid: while the privacy screen is on, the status line and the panel say who asked for it when it wasn't this phone.
  • The main button now follows what the hub reports about this phone, so it no longer says Connect while the status says the phone is connected.

How

Both screens read the hub's own list over the phone's existing encrypted connection (access.get and the access.trail event) and draw it with the system's lists, forms, menus and confirmation sheets. Nothing opens a web page. The sentences are built from the requests the hub says a role may make, in Moblin/Hub/HubAccess.swift, with tests. All new words are in one file, Moblin/Hub/HubWords.swift. Only an owner device is offered any of this. Other devices see who helps, by name, and no buttons, and the hub checks every request itself.

Sits on #2.

Details
  • A helper link takes who it is for, how long the link stays open, and when access ends: with the stream, a time after joining, or only when removed. A mod link takes a name, how long it lasts and whether it ends with the stream. A link is shown once.
  • Removing the device viewers see warns about the standby picture first. The last owner device has no Remove button.
  • Owner devices are grouped by person. Allow on a new co-owner's device asks first ("Make … a co-owner"), also when the hub answers a plain Allow with confirm_needed. A refusal is said on its row.
  • The list shows who runs the stream, and the stream can be handed over and taken back. What happened can be cleared.
  • When the hub is out of reach the last list stays, reads "Can't say right now", and nothing on it can be pressed.
  • "Move stream to phone" is now outlined, like every move in the shared look. Filled is for the decision that waits: Connect, Allow.
  • Checked on an iOS 27 Simulator only: 32 tests in the three hub suites, a build with and without OSB_BRAND, fixtures for every state (-HubShowcase), and one real run against a local reference hub: helper link, join, Allow, mod link, the mod's HIDE named on the phone, End now. Not run on a phone.
  • Not in this change: naming yourself as an owner, inviting a co-owner from the phone, and the screens of a device that was handed the stream. English only.

Sending to the rig's hub, the button read Connect or Disconnect from
whether this phone was streaming. It now follows the hub's report of
this phone's feed, like the panel: Connect, Connecting…, Disconnect,
Disconnecting…. It can no longer say Connect while the status says the
phone is connected.
An owner device gets two screens from the rig panel.

Crew: make a helper link (who it is for, how long the link stays open,
access until the stream ends, for a time or until removed) or a mod
link, share it with the system share sheet or as a code, see open links
and end one. A helper still waits for Allow, which is on the panel as
its one filled button.

Who has access: every device, helper, mod and unused invite with its
role, what it may do in a plain sentence built from the requests the hub
allows it, how it joined, who gave it and when it ends. Allow, Remove or
End now with one confirm (with the standby warning when viewers see that
device), Change when it ends, and what happened. Owners are grouped by
person; a new co-owner's device is let in only after a second, explicit
confirm, also when the hub answers a plain Allow with confirm_needed.
The stream can be handed over and taken back, and the list of what
happened cleared.

Both are read over the phone's own hub connection (access.get and the
access.trail event). Only an owner device is offered them; other devices
see who helps, by name, and no buttons.

While the privacy screen is on, the status and the panel say who asked
for it when it wasn't this phone.

Move stream to phone is outlined like every move in the shared look;
filled is for the decision that waits (Connect, Allow).
@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
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