web: remove the public /dashboard/admin page - #12110
Merged
Merged
Conversation
The Pro access admin surface now lives in the private cmux-admin app, which calls /api/admin/* directly. Drop the dashboard page, its nav group, the dashboard.admin message namespace, and the stale complexity baseline entry. The API routes and their tests stay. Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7
|
Warning Review limit reachedNext included review available in 6 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (10)
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. Comment |
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
rustybret
pushed a commit
to rustybret/bmux
that referenced
this pull request
Sep 8, 2026
92f8da5 Fix sidebar Sign In button and account avatar not rendering on Intel Macs (manaflow-ai#12126) 5a16fbb cloud: guest `cmux self` and `cmux vm ls` via GET /api/vm/self (manaflow-ai#12116) 9cbdb7c web: remove the public /dashboard/admin page (manaflow-ai#12110) 5fda406 coderouter: OpenAI and OpenRouter API keys as Responses providers (manaflow-ai#12111)
aerickson
pushed a commit
to aerickson/cmux
that referenced
this pull request
Sep 13, 2026
* web: remove the public /dashboard/admin page The Pro access admin surface now lives in the private cmux-admin app, which calls /api/admin/* directly. Drop the dashboard page, its nav group, the dashboard.admin message namespace, and the stale complexity baseline entry. The API routes and their tests stay. Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7 * docs: point the billing skill at cmux-admin Claude-Session: https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7 --------- Co-authored-by: Lawrence Chen <lawrence@manaflow.ai>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes https://cmux.com/dashboard/admin from the public site. The Pro access admin surface moved to the private cmux-admin app (https://cmux-admin.vercel.app/pro), which calls
/api/admin/*with the admin's own Stack tokens, so those API routes,services/admin/*, and their tests stay.Dropped:
web/app/[locale]/dashboard/admin/, the client-side admin nav group indashboard-shell.tsx(and itsuseUserread), thedashboard.adminnamespace plusdashboard.nav.adminGroup/adminProinen.jsonandja.json, and the staleadmin-pro-panelcomplexity baseline line.Localization audit: only deletions; no new strings. Verified with
tsgo --noEmit, eslint on the shell,lint:complexity, andbun teston the three admin test files (46 pass).https://claude.ai/code/session_01NeVjt6atBS81jCeuzLxLD7
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Note
Low Risk
UI and copy removal only; privileged mutations still go through existing server-gated admin APIs used by the separate admin app.
Overview
Removes the in-product Pro access admin UI from cmux.com so operators use the private cmux-admin app (
https://cmux-admin.vercel.app/pro) instead. The billing skill doc now states there is no admin page on cmux.com and that non-admins get 403 on admin APIs only.Deleted the whole
web/app/[locale]/dashboard/admin/tree (search, grants, roster, Stripe downgrade flows) and stripped the conditional admin nav fromdashboard-shell.tsx, including theuseUser/isAdminUserclient check. Removeddashboard.adminand relateddashboard.navstrings from en and ja, and dropped the grandfathered admin-pro-panel oxlint complexity baseline entry.Unchanged:
/api/admin/*,services/admin/*, and their tests remain for cmux-admin to call with admin Stack tokens.Reviewed by Cursor Bugbot for commit 0b991a4. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Removes the public
/dashboard/adminPro access page on cmux.com. The Pro access admin surface moved to the private cmux-admin app, which calls/api/admin/*with the admin's own Stack tokens.web/app/[locale]/dashboard/admin/, the client-side admin nav group indashboard-shell.tsx(and itsuseUserread), and the staleadmin-pro-panelcomplexity baseline line.dashboard.adminnamespace anddashboard.nav.adminGroup/adminProstrings fromen.jsonandja.json; no new strings are added./api/admin/*routes,services/admin/*, and their tests for the cmux-admin app.Written for commit 0b991a4. Summary will update on new commits.