Skip to content

fix: make session share tokens read-only - #3189

Merged
timflannagan merged 1 commit into
mainfrom
fix/read-only-session-shares
Oct 14, 2026
Merged

timflannagan merged 1 commit into
mainfrom
fix/read-only-session-shares

Conversation

@EItanya

@EItanya EItanya commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Read/write share tokens allow visitors to send messages and cancel tasks as the session owner. This removes that capability for GA. All share tokens now grant read-only access, enforced in the services and transports, and shared conversations no longer expose reply, approval, cancellation, or retry controls.

Since shares have one access mode, this also removes the permission enum, protobuf fields, database column, and client/UI mappings. The unreleased initial schema and protobuf layout are updated directly, assuming a fresh installation.

Validated with protobuf generation and lint, focused Go and PostgreSQL race/migration tests, Go/UI lint and type checking, 67 UI unit tests, and 10 Chromium/Firefox sharing tests. Added cluster E2E coverage compiles; runtime execution requires KAGENT_E2E_API_URL.

@EItanya
EItanya requested review from a team and Charlesthebird as code owners October 13, 2026 20:32
@github-actions github-actions Bot added the bug Something isn't working label Oct 13, 2026
timflannagan
timflannagan previously approved these changes Oct 13, 2026
@EItanya
EItanya added this pull request to the merge queue Oct 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 13, 2026
@EItanya
EItanya added this pull request to the merge queue Oct 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 13, 2026
@EItanya
EItanya added this pull request to the merge queue Oct 14, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 14, 2026
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
@timflannagan
timflannagan added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit 3299aa9 Oct 14, 2026
30 of 31 checks passed
@timflannagan
timflannagan deleted the fix/read-only-session-shares branch October 14, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants