Skip to content

docs: sign out individual sessions from Settings and the admin Sign-in tab - #146

Merged
zZebrahz merged 5 commits into
mainfrom
docs/signed-in-sessions
Oct 16, 2026
Merged

zZebrahz merged 5 commits into
mainfrom
docs/signed-in-sessions

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #109

Silo-Server/silo-server#1994 lets people and admins see signed-in sessions and sign out one of them. Two pages still said Silo can't sign out a single device.

Pages changed

Page Change Preview
Accounts and signed-in devices New section "See where you're signed in"; rewrote "Lost or stolen device" Open
Invite people and manage accounts Added admin session sign-out to "A lost device or unwanted playback" Open

What changed on each page

Accounts and signed-in devices

  • New section "See where you're signed in", after "Sign out": Settings > Signed-in sessions (primary profile or admin only), what This browser, Other signed-in sessions, each row and Details show, steps to Sign out a session, and Sign out this browser.
  • Says what happens next: the session loses access on its next request, a browser shows Your session ended, and the password, profiles, device settings and other sessions stay as they are.
  • Jellyfin-compatible apps don't appear and aren't signed out by a single sign-out; a reset link signs them out. API keys aren't sessions.
  • "Lost or stolen device" now leads with signing out the lost device's row. The reset link stays as the way to sign out everything and change the password, and the admin option now points to signing out rather than setting a password or disabling the account.
  • The Forget note now points to Settings > Signed-in sessions.
  • Page description mentions seeing where you're signed in.

Invite people and manage accounts

  • "A lost device or unwanted playback" now opens with the Sign-in tab's Signed-in sessions: Sign out for one session, Sign out everywhere for all, with the password and account left unchanged.
  • Sign out everywhere also signs out Jellyfin-compatible and Audiobookshelf-compatible apps and cancels unfinished TV sign-in approvals. One session's sign-out doesn't touch those apps. API keys are separate.
  • Only the server owner can sign out another admin or the owner; any admin can sign out their own sessions.
  • Links people to the new self-service section. The playback and disable advice stays, with "its owner" changed to "the person it belongs to" so it isn't confused with the server owner.

Worth checking: the admin section names no control for disabling the account, because #137 is replacing the Edit dialog and Enabled switch (silo-server#2231).

Left out on purpose

  • The Apple and Android apps have no session screen. The pages say "In the web app" and leave the gap out.
  • Last seen not recorded yet for sessions from before the update: an upgrade detail that goes away once sessions are used.
  • Stream grants, the per-node last-seen throttling, and other API-level detail in docs/auth-api.md.

Evidence

Source reviewed, not tested on a live server or device:
silo-server 9d37930c6 (web/src/components/sessions/LoginSessionsPanel.tsx, LoginSessionRow.tsx, web/src/lib/loginSessionDevice.ts, web/src/pages/SettingsLayout.tsx, AdminUserDetail.tsx, web/src/lib/accountOwner.ts, Login.tsx, docs/auth-api.md), plus the review-fix notes in the issue comment. silo-apple 5c1dcfb0 and silo-android e535ddce fetched; no session screen there.

Needs a hands-on check: Nothing.

bun run test:docs   ℹ tests 8  ℹ pass 8  ℹ fail 0
bun run build       104 page(s) built, Complete!
git diff --check    clean

Risks

None identified. Documentation only.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: T3 Code, running Claude Code (Claude Agent SDK)
  • Tool(s): Claude Code, GitHub CLI, silo-docs and humanizer skills
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

Note

Document signing out individual sessions from Settings and admin Sign-in tab

Rewrites the lost-device guidance in accounts.md. It now covers how administrators inspect and terminate single sessions or all sessions from Admin > Users > Sign-in, plus self-service sign-out from Settings. Also documents session metadata, delayed termination of active playback, app visibility differences, API-key separation, and administrator privilege limits.

Macroscope summarized 0cc531d.

@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: faf9940c-1d26-46e1-8478-42ec60f438f0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zZebrahz zZebrahz self-assigned this Oct 10, 2026
@silo-kody

silo-kody Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while.

@zZebrahz zZebrahz removed their assignment Oct 10, 2026
@silo-kody

silo-kody Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@zZebrahz
zZebrahz merged commit 3dc3670 into main Oct 16, 2026
5 checks passed

This branch was previously deployed

1 inactive deployment
Preview — 0cc531dd Deployed Oct 16, 2026 by zZebrahz via teardown #83
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.

docs: cover signing out individual sessions from Settings and the admin Sign-in tab

1 participant