diff --git a/frontend/src/routes/(root)/(logged)/oauth/mcp_authorize/+page@(root).svelte b/frontend/src/routes/(root)/(logged)/oauth/mcp_authorize/+page@(root).svelte index aeb5a57157..962f0b3107 100644 --- a/frontend/src/routes/(root)/(logged)/oauth/mcp_authorize/+page@(root).svelte +++ b/frontend/src/routes/(root)/(logged)/oauth/mcp_authorize/+page@(root).svelte @@ -214,7 +214,11 @@ function openEdit() { beforeEdit = { access, scopes, all: allWorkspaces, picked: pickedWorkspaces } // The dialog offers the level shown and those below it, so it opens on the level shown. - if (ceiling && access !== 'selected' && RANK[access] > RANK[ceiling]) setAccess(ceiling) + // The picker starts from `scopes`, so they move down with it. + if (ceiling && access !== 'selected' && RANK[access] > RANK[ceiling]) { + setAccess(ceiling) + scopes = ACCESS_SCOPES[ceiling] + } editing = true } function closeEdit(keep: boolean) {