Skip to content

fix(terminal): tell only members who can see a shared session about it - #152

Merged
kipavy merged 1 commit into
mainfrom
fix/session-shared-recipients
Nov 15, 2026
Merged

kipavy merged 1 commit into
mainfrom
fix/session-shared-recipients

Conversation

@kipavy

@kipavy kipavy commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

create_session pushed session_shared to every member of the session's vaults. Each recipient now goes through may_see_session, which asks visible_sessions (the session list's own check: View terminal sessions, the role filter, View on the shared host), so the push and the list can't disagree.

Tests: two new cases in authz_tests; full suite 1046 passed, clippy clean.

Sharing a vault session pushed session_shared to every member of its
vaults. Recipients now go through the same visibility check as the
session list: View terminal sessions, the role filter, and View on the
shared host.
@kipavy
kipavy merged commit 8ea2652 into main Nov 15, 2026
1 check passed
@kipavy
kipavy deleted the fix/session-shared-recipients branch November 15, 2026 20:36
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