Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .changeset/39059-setup-paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
'@objectstack/platform-objects': patch
---

Setup's retired group ids, the ids that replaced them, and what a package that still names an old id should change

Clause-②: no
Metadata-protocol: none

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:

| Retired group id | Takes it over now |
|:--|:--|
| `group_people_org` | `group_users_org` (Users & Organization) |
| `group_access_control` | `group_access_sharing` (Access & Sharing) |
| `group_apps` | `group_apps_ai` (Apps & AI) |
| `group_approvals` | `group_routing_approvals` (Routing & Approvals) |
| `group_diagnostics` | `group_audit_data` (Audit & Data) |
| `group_configuration` | `group_company` (Company Settings) |
| `group_integrations` | `group_integrations_dev` (Integrations & Developer) |
| `group_advanced` | `group_integrations_dev` (Integrations & Developer) |
| `group_overview` | none: its one entry, System Overview, is pinned above the groups |

`group_currency_units` (Currency & Units), `group_notifications` (Notifications) and `group_login_security` (Login & Security) are new and replace no old id.

**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.

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.

A translation bundle keyed by an old group id (`apps.setup.navigation.ID.label`) labels nothing any more. Key it by the new id.

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).
6 changes: 3 additions & 3 deletions content/docs/ai/connect-mcp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ doors — which one you have depends on your permissions:
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
under **AI Assistant**.
Direct link: `/_console/apps/com.objectstack.account/page/connect_agent`.
- **Platform admins** — **Setup → Overview → Connect an AI Assistant**, at
- **Platform admins** — **Setup → Apps & AI → Connect an AI Assistant**, at
`/_console/apps/com.objectstack.setup/page/connect_agent`, reached from the
Setup sidebar. The Setup app requires the `setup.access` permission, so this
door alone is not enough for an ordinary member; the Account one needs none.
Expand All @@ -154,8 +154,8 @@ claude.ai and Claude Desktop, Claude Code, Codex, Cursor, WorkBuddy, Doubao Work
and QwenWork, and a download link for the app's `SKILL.md`.

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

Or mint one over REST, from a signed-in session (the `-b cookies.txt` below). A
request authenticated with an API key is refused `403 PERMISSION_DENIED`:
Expand Down
2 changes: 1 addition & 1 deletion content/docs/api/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ permission model grants anonymous users. Two ways to authenticate:
- **API key** (scripts, CI, headless agents): mint one with `POST /api/v1/keys`
(the key is shown once), or from the **Connect an AI Assistant** page in the Console
— the avatar menu or **Account → AI Assistant** for any signed-in user,
**Setup → Overview** for platform admins. Minting needs a signed-in session: a request
**Setup → Apps & AI** for platform admins. Minting needs a signed-in session: a request
authenticated with an API key is refused `403 PERMISSION_DENIED`, so a key
cannot mint another key. Send the key as `x-api-key: osk_…` or
`Authorization: Bearer osk_…`. Keys expire (90 days by default, at most a
Expand Down
13 changes: 7 additions & 6 deletions content/docs/automation/approvals.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ is now a considered `false` rather than an evaluation fault — the predicates
guard the block with `has(record.viewer) && has(record.viewer.can_act)` before
reading it, so a row without the block resolves cleanly instead of aborting at
key resolution. Same empty toolbar, arrived at deliberately. The table stays
available under **Setup → Approvals → Requests** for admins and diagnostics,
available under **Setup → Routing & Approvals → Requests** for admins and diagnostics,
which is what it is good for.
</Callout>

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

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

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

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

#### Setting a credential

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

**In the Console**, **Setup → Integrations → Connector Connections** drives
**In the Console**, **Setup → Integrations & Developer → Connector Connections** drives
these calls; the entry is shown to holders of `manage_connector_connections`.
It lists each `authorization_code` instance with the organization's status,
the reason the server recorded and, for a `degraded` instance, the server's
Expand Down
2 changes: 1 addition & 1 deletion content/docs/automation/email-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ refuses `currency:@path` by name.

**`currency` with no argument formats in the tenant default currency.**
`{{ amount | currency }}` formats in the organization's default currency, the
`localization.currency` setting (Setup → Localization) that currency fields and
`localization.currency` setting (Setup → Company Settings → Language & Region) that currency fields and
dashboards read too. The notification channels hand it to every templated
send; code that calls `sendTemplate` or `renderTemplate` itself passes it as
`currency`. When no default currency reaches the render, the render fails with
Expand Down
2 changes: 1 addition & 1 deletion content/docs/automation/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ export const leadFollowUp = {
```

- **The organization's language.** The Localization setting when somebody set
it (Setup → Localization), else the app's `i18n.defaultLocale`. A hook a
it (Setup → Company Settings → Language & Region), else the app's `i18n.defaultLocale`. A hook a
person's save fires still writes in the organization's language — the record
is data everyone reads, not a message to that person.
- **Translated first, filled after.** `ctx.text` picks
Expand Down
6 changes: 3 additions & 3 deletions content/docs/data-modeling/external-datasources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ from external configuration. Auto-connect is idempotent with it (whichever
registers the datasource name first wins), so the two never conflict.
</Callout>

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

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

| `status` | Meaning |
Expand Down Expand Up @@ -414,7 +414,7 @@ its header or query parameter. The rules:
- **An instance that can lend.** The name must match a `connectors` entry of the stack
that has a `provider` and an `auth` other than `none`. A catalog descriptor (no
`provider`) or an instance with no `auth` is refused when the stack is validated, and a
datasource created or edited under Setup → Integrations → Datasources is judged the
datasource created or edited under Setup → Integrations & Developer → Datasources is judged the
same way when it is saved.
- **Fail-closed at connect.** An instance that cannot lend when the datasource connects
(not declared, disabled with `enabled: false`, no `auth`), or a stack with no
Expand Down
2 changes: 1 addition & 1 deletion content/docs/data-modeling/odata-datasources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ plugins: [
`auth`), a credential that is not set yet, a `credentialsRef` beside the connector,
and an `auth` scheme other than `none` on the plugin, which would send a second
credential. An instance that cannot lend also fails the datasource's connect, so
Setup → Integrations → Datasources shows why
Setup → Integrations & Developer → Datasources shows why
([Borrowing a connector instance's credential](/docs/data-modeling/external-datasources#borrowing-a-connector-instances-credential)
has the rules the stack is validated against, and how the datasource recovers without a
restart once the instance can lend).
Expand Down
2 changes: 1 addition & 1 deletion content/docs/data-modeling/seed-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ in for. Datasets without the marker load exactly as before.
package, and the replay that seeds each new organization pick the locale for
the organization the rows land in. The first of these that answers wins:

1. the organization's **Setup → Localization → Default language**, when
1. the organization's **Setup → Company Settings → Language & Region → Default language**, when
somebody set it, for that organization or for the whole deployment (the
built-in `en-US` default does not count as set);
2. the language of the person installing, reseeding or creating the
Expand Down
2 changes: 1 addition & 1 deletion content/docs/data-modeling/validation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ A refused save then reads `Total $1,200.00 is below what was received ($1,500.00
| `upper`, `lower`, `trim`, `truncate:80` | Text, changed or cut with an ellipsis |
| `default:'n/a'` | The text given, when the field is empty |

**Currency.** A bare `| currency` formats in the organization's default currency, set in Setup → Localization (`localization.currency`). When none is set, that hole renders empty, the rest of the sentence still fills, and the server log names the rule and the setting to fill. An amount is never shown in a currency nobody chose. A `currency` field that carries its own currency (a per-record or fixed currency) is still formatted in the organization's default by a bare `| currency`; name the code (`| currency:EUR`) or use `| number:2` for such a field.
**Currency.** A bare `| currency` formats in the organization's default currency, set in Setup → Company Settings → Language & Region (`localization.currency`). When none is set, that hole renders empty, the rest of the sentence still fills, and the server log names the rule and the setting to fill. An amount is never shown in a currency nobody chose. A `currency` field that carries its own currency (a per-record or fixed currency) is still formatted in the organization's default by a bare `| currency`; name the code (`| currency:EUR`) or use `| number:2` for such a field.

**Fields the person cannot read stay empty.** A hole shows a value only when the person whose write was refused may read that field unmasked. A field they cannot read, a field masked for them, and a password, secret or internal field render empty, and `default:` does not fill them. The same holds when an automation writes on someone's behalf: a `runAs: 'system'` flow someone started, an action, an approval step. The sentence is worded for that person, so it shows what they may read. A system write that names no person (a schedule, a platform job) is read only in the server log, and shows every field but password, secret and internal ones. If the platform cannot tell what the person may read, every hole renders empty and the server log says why. Whether the write is refused never depends on the message.

Expand Down
2 changes: 1 addition & 1 deletion content/docs/deployment/backup-restore.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ other than the default was discarded at startup and uploads landed in
`./.objectstack/data/uploads` instead of where the variable pointed. A backup
job aimed at the configured path copied an **empty directory**. The old name
still works for one release (with a startup warning), but it now resolves to
the same place the adapter writes. Confirm with **Setup → Settings → File
the same place the adapter writes. Confirm with **Setup → Audit & Data → File
Storage → Root directory**: it shows the path in effect, and shows it as
locked-by-env when the variable is set. If they disagree, trust the Setup page
and back that path up too.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/deployment/cloud-connection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Connect your own ObjectStack server to an ObjectOS Cloud account fr

A self-hosted ObjectStack server can be connected to an ObjectOS Cloud
account. You start the connection on your own server, in **Setup →
Integrations → Cloud Connection**, and approve it in the cloud account with a
Integrations & Developer → Cloud Connection**, and approve it in the cloud account with a
one-time code. Nothing is typed into the server: no id, no key, no password. Under the hood
this is the OAuth 2.0 device authorization grant
([RFC 8628](https://www.rfc-editor.org/rfc/rfc8628)), run by the
Expand Down Expand Up @@ -110,7 +110,7 @@ the server reads as not connected until you connect it again.
## Connect [#connect]

1. **Open the page.** Sign in to your server and go to **Setup →
Integrations → Cloud Connection**. The header reads *Cloud Connection —
Integrations & Developer → Cloud Connection**. The header reads *Cloud Connection —
Connect this runtime to an ObjectStack control plane to browse your organization's
private packages and install them here.* The panel shows *Checking
connection…*, then **Not connected** and a **Connect** button.
Expand Down
Loading
Loading