Repository navigation
feat(web): open the account's Access tab from the Users list Edit button - #2231
Conversation
The Edit button in Admin > Users opened a dialog that duplicated what the account page's Access tab now edits. It now links to /admin/users/<id>?tab=access, and the dialog only creates accounts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The Edit link leads to the account-management controls, with no established workflow regression requiring a change before merge. Pre-merge checks |
|
Silo-Server#2231 made the user dialog create-only and moved account edits to the account page. Keep the invalid-limit guard on the Create User dialog and move its tests to that dialog. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Problem
Related issue: N/A
Validation tasks: changes #1197 C1 (an account override is now set on the account's Access & limits tab instead of in the Edit User dialog)
In Admin › Users, the Edit (pencil) button on each row opened an Edit User dialog. The dialog repeated what the account page's Access & limits tab already edits, and the two could drift apart. Admins now land on that tab instead.
Approach
The Edit button is now a link to
/admin/users/<id>?tab=access, shown for the same accounts as before. Nothing else opened the dialog in edit mode, so I removed that mode: the dialog is now create-only (Add User). This also drops its conflict reload, Enabled switch, and owner/self locks. The account page already covers each of these:The Access tab tests already cover conflict reload and the owner/self locks.
This is web admin only. No API, jellycompat, or client app changes.
Validation
pnpm run lint,format:check,build: passmake test-web: 841 files, 7281 tests passmake verify-local-paths: passpnpm run budget:check: fails, and also fails onmain(1214 B over budget onmain, 1241 B on this branch).AdminUsersis lazy-loaded.Evidence
Admin › Users, web admin: the row's pencil icon and tooltip look the same. Clicking it opens the account page on Access & limits instead of a dialog. Add User still opens the Create User dialog.
Risks
AdminUsers.tsx. Its fix for [bug] Edit User dialog saves the old limit when a cleared limit field is on a hidden tab #1867 still applies to the Create User dialog, so whichever PR merges second needs a rebase.Checklist
AI Disclosure
🤖 Generated with Claude Code