Skip to content

Commit 3497d8e

Browse files
docs: Setup paths name the current groups and entries; a changeset lists the retired group ids (#39059) (#39304)
Fixes #39059 Clause-②: no (docs and a changeset only; no accept set or public surface moves) Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:管理员照着产品文档去系统设置找页面时,文档里写的分组和菜单名与现在左侧导航一致(如「登录与安全 › 登录方式」),不再指向已改名或已撤掉的旧分组;插件作者在发版说明里能查到旧分组 id 换成了哪个新 id。 - 为什么做:属于「系统设置导航重组」专题,替照文档操作的管理员和往系统设置里挂菜单的第三方包作者解决「文档路径失效」的问题。 - 出错会怎样:只改文档文字和一条发版说明,不动代码;写错只会让读者找错菜单,可以直接撤回。 - 要你做什么:无。 ## What changes Setup was regrouped into ten groups and several entries were renamed (#39092, #39161, #39202). The hand-written docs still named the retired groups and the old entry names. Each Setup path that named a group or entry Setup no longer shows now names the group and entry Setup shows on `main`, read from `packages/platform-objects/src/apps/setup.app.ts`, `setup-nav.contributions.ts`, each contributing package's `navigationContributions`, and the English labels in `packages/platform-objects/src/apps/translations/en.ts`. - 25 of the 34 claimed pages change (58 replacements). A path whose group and entry names are still current is left as it is, including a path that names only the entry (for example **Setup → Datasources**, **Setup → Users**, **Setup → SSO Providers**). A path I had to change names its group too. - Entries that no longer exist, and what the page says now: - **Approvals Inbox** left Setup (epic ruling D2). `automation/approvals.mdx` now says Setup has no inbox entry, and that **Setup → Routing & Approvals** keeps the admin's Requests, Action History and Delegations (OOO), with a request opened from Requests being its record page. - **Setup → Members** never was a Setup entry. `deployment/tenancy-modes.mdx` now points at the **Members** tab of **Setup → Users & Organization → Organization**. - **Setup → IdP Group Mappings** names no Setup entry on `main`, and nothing replaced it. `permissions/sso.mdx` drops the path, names the `sys_idp_group_mapping` list that carries the three actions, and says Setup's menu has no entry for it. - **Setup → Packages** was merged into **Installed Apps**, which lists packages of every source. `deployment/marketplace-handbook.mdx` drops the alternative path. - **Setup → Configuration** and **Setup → Diagnostics** (group-level rows in `permissions/administrator-guide.mdx`'s table) were split. Each row now names the entries in their new groups. - `.changeset/39059-setup-paths.md` (`@objectstack/platform-objects`, patch) carries the retired-id to new-id table, read from each group's `renamedFrom`, and the migration note for package authors: what the `nav_contribution_group_renamed` warning says, what to change, and what happens to `group_overview`, which has no successor. <details><summary>Every replaced path, per page (old → new)</summary> - `ai/connect-mcp.mdx`: Setup → Overview → Connect an AI Assistant → Setup → Apps & AI → Connect an AI Assistant; Setup → Access Control → API Keys → Setup → Integrations & Developer → API Keys - `api/index.mdx`: Setup → Overview → Setup → Apps & AI - `automation/approvals.mdx`: Setup → Approvals → Requests → Setup → Routing & Approvals → Requests; Setup → Approvals → Approvals Inbox → removed (see above); Setup → Approvals → Delegations (OOO) → Setup → Routing & Approvals → Delegations (OOO) - `automation/connectors.mdx`: Setup → Connector credentials → Setup → Integrations & Developer → Connector Credentials; Setup → Integrations → Connector Credentials → Setup → Integrations & Developer → Connector Credentials; Setup → Integrations → Connector Connections → Setup → Integrations & Developer → Connector Connections - `automation/email-templates.mdx`, `automation/hooks.mdx`, `data-modeling/validation.mdx`: Setup → Localization → Setup → Company Settings → Language & Region - `data-modeling/seed-data.mdx`: Setup → Localization → Default language → Setup → Company Settings → Language & Region → Default language - `data-modeling/external-datasources.mdx` (3), `data-modeling/odata-datasources.mdx`: Setup → Integrations → Datasources → Setup → Integrations & Developer → Datasources - `deployment/backup-restore.mdx`, `deployment/environment-variables.mdx`: Setup → Settings → File Storage → Root directory → Setup → Audit & Data → File Storage → Root directory - `deployment/environment-variables.mdx`, `deployment/self-hosting.mdx`: Setup → Settings → File Storage → Setup → Audit & Data → File Storage - `deployment/environment-variables.mdx`: Setup → Authentication → Setup → Login & Security → Sign-in Methods; Setup → Overview → Setup → Apps & AI - `deployment/cloud-connection.mdx` (2): Setup → Integrations → Cloud Connection → Setup → Integrations & Developer → Cloud Connection - `deployment/marketplace-handbook.mdx` (2): Setup → Integrations → Connector Credentials → Setup → Integrations & Developer → Connector Credentials; Setup → Installed Apps (or Setup → Packages for a suite booted from code) → Setup → Installed Apps (a suite booted from code is listed there too) - `deployment/production-readiness.mdx`, `protocol/kernel/config-resolution.mdx`: Setup → Authentication → Setup → Login & Security → Sign-in Methods - `deployment/tenancy-modes.mdx`: Setup → Members → the Members tab of Setup → Users & Organization → Organization - `getting-started/build-with-claude-code.mdx`: Setup → Overview → Setup → Apps & AI - `kernel/runtime-services/sms-service.mdx`: Setup → Settings → SMS Delivery → Setup → Notifications → SMS Channel - `permissions/administrator-guide.mdx`: Setup → People & Organization → Business Units / Users / Invitations / Teams → Setup → Users & Organization → (same entry); Setup → People & Organization → Position Holders / Permission Set Assignment → Setup → Access & Sharing → (same entry); Setup → Access Control → Positions and Permissions → Setup → Access & Sharing → Positions and Permissions; Setup → Access Control → Setup → Access & Sharing → Sharing Rules / Record Shares; Setup → Diagnostics → Notification Events → Setup → Notifications → Delivery Log (3); Setup → Configuration → Authentication → Setup → Login & Security → Sign-in Methods / SSO Providers; Setup → Configuration → Setup → Users & Organization → Company Information; Setup → Company Settings → Language & Region / Branding; Setup → Diagnostics → Setup → Login & Security → Active Sessions; Setup → Notifications → Delivery Log; Setup → Audit & Data → Audit Log - `permissions/authentication.mdx`: Setup → Authentication (6) → Setup → Login & Security → Sign-in Methods; Setup → Authentication → Membership → Setup → Login & Security → Sign-in Methods → Membership; Setup → Settings → SMS Delivery → Setup → Notifications → SMS Channel - `permissions/authorization.mdx`, `permissions/permission-sets.mdx`: Setup → Access control → Positions and Permissions → Setup → Access & Sharing → Positions and Permissions - `permissions/sso.mdx`: Setup → Authentication → Setup → Login & Security → Sign-in Methods; Setup → Authentication → Social sign-in → Setup → Login & Security → Sign-in Methods → Social sign-in; Setup → IdP Group Mappings → removed (see above) </details> **Read first** (by risk): 1. `content/docs/automation/approvals.mdx`, the callout after "The inbox is per-user": the one rewritten sentence about what Setup keeps after the Approvals Inbox left. 2. `content/docs/permissions/sso.mdx`, "Saving a mapping without the API": the path removed because no Setup entry exists. 3. `.changeset/39059-setup-paths.md`: the id table and the migration note. ## Tests Docs and a changeset only: no code, no test changes. ## Acceptance notes - Left unchanged on purpose: `deployment/validating-metadata.mdx` (Setup → Settings → Storage) and `api/wire-format.mdx` (Setup → Datasources) quote a message the runtime prints. The first quote is stale, but it matches what the runtime says today, so it has to change with the runtime string, not here. The seat filed that runtime string and its family as #39305. - `content/docs/deployment/cli.mdx` (held by another claim) needs no edit: its two paths, Setup → Datasources and Setup → API Keys, name current entries. - `content/docs/releases/**` and `content/docs/references/**` are out of scope and untouched. - `.changeset/39053-setup-ten-group-anchors.md` already carries the same id mapping, inline. This changeset gives it as a table and adds what the warning says and what to do about `group_overview`. - No Setup menu entry opens the IdP group mappings list (`sys_idp_group_mapping`), although the object declares three actions meant for Setup. `permissions/sso.mdx` now says so instead of naming a path. This is noted, not filed: it was read from the code, not measured in a browser. ## Verification Two-minute check: open Setup in a running console and follow **Setup → Login & Security → Sign-in Methods**. You should see the group "Login & Security" (collapsed by default) holding "Sign-in Methods", the page `permissions/authentication.mdx` points at. <details><summary>Local gates at 6e810df (dispatch-gates --commands, 60 commands)</summary> All 60 derived commands exited 0 at `6e810dffdc`, among them `pnpm --filter @objectstack/spec run check:docs`, `pnpm check:doc-anchors` (1226 internal fragment links resolve), `pnpm check:docs-redirects`, `pnpm check:doc-authoring`, `pnpm check:doc-frontmatter`, `pnpm check:nul-bytes`, `node scripts/check-empty-changeset.mjs --base origin/main` and `node scripts/check-changeset-no-major.mjs --base origin/main`. Four of them first exited 3 (prerequisite not met: `@objectstack/lint` and `@objectstack/client-react` were not built). After building those packages, all four exited 0 on the same head. `dispatch-gates --ran`: 60 derived, 60 run, 0 NOT-MEASURED, 0 UNRUN. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2)_ <!-- signed: repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent dc4a2cd commit 3497d8e

26 files changed

Lines changed: 104 additions & 70 deletions

‎.changeset/39059-setup-paths.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
'@objectstack/platform-objects': patch
3+
---
4+
5+
Setup's retired group ids, the ids that replaced them, and what a package that still names an old id should change
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Setup's navigation was regrouped into ten groups (#39050). Every group id was replaced. Each retired id now lives only in the `renamedFrom` list of the group that took it over:
11+
12+
| Retired group id | Takes it over now |
13+
|:--|:--|
14+
| `group_people_org` | `group_users_org` (Users & Organization) |
15+
| `group_access_control` | `group_access_sharing` (Access & Sharing) |
16+
| `group_apps` | `group_apps_ai` (Apps & AI) |
17+
| `group_approvals` | `group_routing_approvals` (Routing & Approvals) |
18+
| `group_diagnostics` | `group_audit_data` (Audit & Data) |
19+
| `group_configuration` | `group_company` (Company Settings) |
20+
| `group_integrations` | `group_integrations_dev` (Integrations & Developer) |
21+
| `group_advanced` | `group_integrations_dev` (Integrations & Developer) |
22+
| `group_overview` | none: its one entry, System Overview, is pinned above the groups |
23+
24+
`group_currency_units` (Currency & Units), `group_notifications` (Notifications) and `group_login_security` (Login & Security) are new and replace no old id.
25+
26+
**If your package contributes Setup entries.** A `navigationContributions[]` entry whose `group` names a retired id still works. Its items land in the group that took the id over, and you get a `nav_contribution_group_renamed` warning (the `NAV_CONTRIBUTION_GROUP_RENAMED` code of `@objectstack/objectql`). The server logs it at `warn`, and `os build` and `os validate` report it when your package and the Setup app are built together. The warning names your package, its items, the retired id and the group that received them, and says "The retired id is accepted only as an alias." Its fix tells you to change the contribution's `group` from the retired id to the new one, for example from `group_integrations` to `group_integrations_dev`. Make that change. The warning goes away, and your entries no longer depend on the alias.
27+
28+
A contribution that names `group_overview` gets no alias. Its items go to Setup's top level with the `nav_contribution_group_missing` warning, and they lose the `manage_platform_settings` gate that group carried. Name one of the ten groups, and put the gate on the item if it needs one.
29+
30+
A translation bundle keyed by an old group id (`apps.setup.navigation.ID.label`) labels nothing any more. Key it by the new id.
31+
32+
The product docs now use the current group and entry names in their Setup paths, for example **Setup → Login & Security → Sign-in Methods** (formerly Setup → Authentication) and **Setup → Integrations & Developer → Datasources** (formerly Setup → Integrations → Datasources).

‎content/docs/ai/connect-mcp.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ doors — which one you have depends on your permissions:
141141
sidebar; on a phone, the avatar at the top right) → **Connect an AI Assistant**. It opens the page in the Account app, whose sidebar lists it
142142
under **AI Assistant**.
143143
Direct link: `/_console/apps/com.objectstack.account/page/connect_agent`.
144-
- **Platform admins** — **Setup → Overview → Connect an AI Assistant**, at
144+
- **Platform admins** — **Setup → Apps & AI → Connect an AI Assistant**, at
145145
`/_console/apps/com.objectstack.setup/page/connect_agent`, reached from the
146146
Setup sidebar. The Setup app requires the `setup.access` permission, so this
147147
door alone is not enough for an ordinary member; the Account one needs none.
@@ -154,8 +154,8 @@ claude.ai and Claude Desktop, Claude Code, Codex, Cursor, WorkBuddy, Doubao Work
154154
and QwenWork, and a download link for the app's `SKILL.md`.
155155

156156
Your own keys are listed (prefix only) and revoked under **Account → Developer
157-
→ API Keys**. Platform admins get the tenant-wide list at **Setup → Access
158-
Control → API Keys**, which requires `manage_platform_settings`.
157+
→ API Keys**. Platform admins get the tenant-wide list at **Setup →
158+
Integrations & Developer → API Keys**, which requires `manage_platform_settings`.
159159

160160
Or mint one over REST, from a signed-in session (the `-b cookies.txt` below). A
161161
request authenticated with an API key is refused `403 PERMISSION_DENIED`:

‎content/docs/api/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ permission model grants anonymous users. Two ways to authenticate:
6868
- **API key** (scripts, CI, headless agents): mint one with `POST /api/v1/keys`
6969
(the key is shown once), or from the **Connect an AI Assistant** page in the Console
7070
— the avatar menu or **Account → AI Assistant** for any signed-in user,
71-
**Setup → Overview** for platform admins. Minting needs a signed-in session: a request
71+
**Setup → Apps & AI** for platform admins. Minting needs a signed-in session: a request
7272
authenticated with an API key is refused `403 PERMISSION_DENIED`, so a key
7373
cannot mint another key. Send the key as `x-api-key: osk_…` or
7474
`Authorization: Bearer osk_…`. Keys expire (90 days by default, at most a

‎content/docs/automation/approvals.mdx‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ is now a considered `false` rather than an evaluation fault — the predicates
715715
guard the block with `has(record.viewer) && has(record.viewer.can_act)` before
716716
reading it, so a row without the block resolves cleanly instead of aborting at
717717
key resolution. Same empty toolbar, arrived at deliberately. The table stays
718-
available under **Setup → Approvals → Requests** for admins and diagnostics,
718+
available under **Setup → Routing & Approvals → Requests** for admins and diagnostics,
719719
which is what it is good for.
720720
</Callout>
721721

@@ -870,10 +870,11 @@ property of the person and not of the app they happen to have open. Filtering it
870870
down to one app's objects is not an option today.
871871

872872
<Callout type="info">
873-
The platform's own **Account** app mounts it exactly this way, and
874-
**Setup → Approvals → Approvals Inbox** mounts the same component for admins
875-
above the raw `sys_approval_request` / `sys_approval_action` /
876-
`sys_approval_delegation` tables.
873+
The platform's own **Account** app mounts it exactly this way. Setup has no
874+
inbox entry: **Setup → Routing & Approvals** keeps the admin's view of the raw
875+
`sys_approval_request` / `sys_approval_action` / `sys_approval_delegation`
876+
tables (**Requests**, **Action History**, **Delegations (OOO)**), and a request
877+
opened from **Requests** is its record page.
877878
</Callout>
878879

879880
### The decision
@@ -1415,7 +1416,7 @@ naming it (ADR-0131).
14151416
`department` / `org_membership_level` keep their whole membership, so there is
14161417
nothing to skip; a position-holder's leave is handled by position delegation
14171418
(ADR-0091), not here. Out-of-office delegation is self-service — create your own
1418-
row via the data API (Setup → Approvals → *Delegations (OOO)*). For a single
1419+
row via the data API (Setup → Routing & Approvals → *Delegations (OOO)*). For a single
14191420
in-flight request, `reassign` hands one slot to another user directly.
14201421
</Callout>
14211422

‎content/docs/automation/connectors.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ A stdio MCP server reads its credential from an environment variable, and the
356356
value stays out of metadata the way an http server's does: declare `auth` with
357357
a `credentialRef`, and name the variable in `transport.credentialEnv`. The
358358
platform resolves the reference like any instance's (the environment, then a
359-
credential set under Setup → Connector credentials, then the host's resolver)
359+
credential set under Setup → Integrations & Developer → Connector Credentials, then the host's resolver)
360360
and the provider hands the resolved secret to the child in that variable — the
361361
token of a `bearer`, the key of an `api-key`, the password of a `basic` (whose
362362
username, not a secret, goes in `env` if the server reads it).
@@ -465,7 +465,7 @@ that names the reference, and a dispatch to it fails with the same reason.
465465

466466
#### Setting a credential
467467

468-
**In the Console**, an administrator sets them in **Setup → Integrations →
468+
**In the Console**, an administrator sets them in **Setup → Integrations & Developer →
469469
Connector Credentials**. The page lists every reference with its status, the
470470
connectors that name it, and when it last changed. Each writable reference has
471471
a masked input that starts empty, whatever is stored: typing a value and saving
@@ -711,7 +711,7 @@ a rotating refresh token is never spent twice.
711711
one after a revoke, which removes the kept client), a client offered to any
712712
other instance, and any other body key are refused `400 VALIDATION_ERROR`.
713713

714-
**In the Console**, **Setup → Integrations → Connector Connections** drives
714+
**In the Console**, **Setup → Integrations & Developer → Connector Connections** drives
715715
these calls; the entry is shown to holders of `manage_connector_connections`.
716716
It lists each `authorization_code` instance with the organization's status,
717717
the reason the server recorded and, for a `degraded` instance, the server's

‎content/docs/automation/email-templates.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ refuses `currency:@path` by name.
153153

154154
**`currency` with no argument formats in the tenant default currency.**
155155
`{{ amount | currency }}` formats in the organization's default currency, the
156-
`localization.currency` setting (Setup → Localization) that currency fields and
156+
`localization.currency` setting (Setup → Company Settings → Language & Region) that currency fields and
157157
dashboards read too. The notification channels hand it to every templated
158158
send; code that calls `sendTemplate` or `renderTemplate` itself passes it as
159159
`currency`. When no default currency reaches the render, the render fails with

‎content/docs/automation/hooks.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ export const leadFollowUp = {
522522
```
523523

524524
- **The organization's language.** The Localization setting when somebody set
525-
it (Setup → Localization), else the app's `i18n.defaultLocale`. A hook a
525+
it (Setup → Company Settings → Language & Region), else the app's `i18n.defaultLocale`. A hook a
526526
person's save fires still writes in the organization's language — the record
527527
is data everyone reads, not a message to that person.
528528
- **Translated first, filled after.** `ctx.text` picks

‎content/docs/data-modeling/external-datasources.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ from external configuration. Auto-connect is idempotent with it (whichever
152152
registers the datasource name first wins), so the two never conflict.
153153
</Callout>
154154

155-
A connected external datasource is also visible in **Setup → Integrations →
155+
A connected external datasource is also visible in **Setup → Integrations & Developer →
156156
Datasources** (stamped `origin: code`, read-only in the UI) and via
157157
`GET /api/v1/datasources` and `GET /api/v1/meta/datasource`, where an admin can
158158
run the "Sync objects" wizard.
@@ -212,7 +212,7 @@ Every connect attempt's verdict is retained, so a datasource that is down no
212212
longer has to be diagnosed by restarting the server and re-reading boot logs
213213
([#3827](https://github.com/objectstack-ai/objectstack/issues/3827)).
214214

215-
**Setup → Integrations → Datasources** and `GET /api/v1/datasources` report a
215+
**Setup → Integrations & Developer → Datasources** and `GET /api/v1/datasources` report a
216216
`status` per datasource:
217217

218218
| `status` | Meaning |
@@ -414,7 +414,7 @@ its header or query parameter. The rules:
414414
- **An instance that can lend.** The name must match a `connectors` entry of the stack
415415
that has a `provider` and an `auth` other than `none`. A catalog descriptor (no
416416
`provider`) or an instance with no `auth` is refused when the stack is validated, and a
417-
datasource created or edited under Setup → Integrations → Datasources is judged the
417+
datasource created or edited under Setup → Integrations & Developer → Datasources is judged the
418418
same way when it is saved.
419419
- **Fail-closed at connect.** An instance that cannot lend when the datasource connects
420420
(not declared, disabled with `enabled: false`, no `auth`), or a stack with no

‎content/docs/data-modeling/odata-datasources.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ plugins: [
261261
`auth`), a credential that is not set yet, a `credentialsRef` beside the connector,
262262
and an `auth` scheme other than `none` on the plugin, which would send a second
263263
credential. An instance that cannot lend also fails the datasource's connect, so
264-
Setup → Integrations → Datasources shows why
264+
Setup → Integrations & Developer → Datasources shows why
265265
([Borrowing a connector instance's credential](/docs/data-modeling/external-datasources#borrowing-a-connector-instances-credential)
266266
has the rules the stack is validated against, and how the datasource recovers without a
267267
restart once the instance can lend).

‎content/docs/data-modeling/seed-data.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ in for. Datasets without the marker load exactly as before.
441441
package, and the replay that seeds each new organization pick the locale for
442442
the organization the rows land in. The first of these that answers wins:
443443

444-
1. the organization's **Setup → Localization → Default language**, when
444+
1. the organization's **Setup → Company Settings → Language & Region → Default language**, when
445445
somebody set it, for that organization or for the whole deployment (the
446446
built-in `en-US` default does not count as set);
447447
2. the language of the person installing, reseeding or creating the

0 commit comments

Comments
 (0)