Skip to content

feat(windows): Team Library connections connect with the team's password and ask before using this computer's credentials - #4725

Merged
datlechin merged 2 commits into
mainfrom
feat/windows-team-connections
Nov 29, 2026
Merged

datlechin merged 2 commits into
mainfrom
feat/windows-team-connections

Conversation

@datlechin

@datlechin datlechin commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Connections page: a Team Library section after Connections lists every team's connections, which this computer never saves. Double-click or Enter connects; owners, admins and editors get Edit. The section counts conflicts or edits not uploaded, and its menu offers Resolve.
  • Publish: a saved connection's Publish to Team Library submenu names each team the account writes to, confirms what the team will see and whether passwords go, and the page's bar says the outcome, including Published without passwords and why.
  • Connect: a team row opens as a workspace read from the team at each connect, signs in with the team's sealed password and no prompt, and asks for a password the team keeps none of without Save. The password goes only when the team's copy still signs in where the row does (the core's sealed destination).
  • Local credentials: before a team row uses this computer's SSH agent, SSH keys or a database file, the app asks once per destination, as the macOS app's localCredentials does. Approvals live in local-use-approvals.json, never synced; a new use or destination asks again; a row the team drops loses them. A restore never asks and says Connect again to review the sign-in.
  • Edit: the connection form opens on the team's copy with the passwords the team uses; Save publishes the edit with only the passwords whose field changed (publish_team_connection_edit, core ADR 0080). Test and the group are left out.
  • Conflicts on connections show in the Keep mine / Keep theirs dialog with field names, and name who changed the team's copy.
  • A team row keeps its own table filters, opens in another database like a saved connection, and starts at AI level Never until the copy's own level is read.
  • docs/decisions/0031 and windows/AGENTS.md updated.
  • Tests changed on purpose: TeamLibraryTests.TheTeamsQueriesAndFoldersAreReadInOrderWithWhoLastChangedThem (connections are rows now, not a count).

Test plan

  • New: TeamConnectionTests, LocalUseConsentTests, TeamRowConnectTests, TableFilterMemoryTests.ATeamsCopyKeepsItsFiltersApartFromTheSavedConnectionItCameFrom.

@datlechin
datlechin force-pushed the feat/windows-team-connections branch from ddede53 to 03d8b5e Compare November 29, 2026 17:46
@datlechin
datlechin changed the base branch from feat/core-connect-shared-row to main November 29, 2026 17:47
@datlechin
datlechin merged commit 0870d03 into main Nov 29, 2026
2 of 4 checks passed
@datlechin
datlechin deleted the feat/windows-team-connections branch November 30, 2026 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant