You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(spec,rest): declare api.enableSearch, delete the three as-any config reads (#11983) (#12605)
- RestApiConfigSchema declares enableSearch: z.boolean().default(true)
beside enableOpenApi, so the deployment-wide search opt-out survives its
own contract's parse instead of being stripped by the non-strict object
(the measured ADR-0104 silent-strip trap).
- packages/rest normalizeConfig drops all three as-any reads
(enableOpenApi stale residue, enableSearch newly declared,
metadata.maskObjectFields already declared); the normalized
api.enableSearch is a required boolean and both read sites drop their
now-dead ?? true.
- Spec pins: materialized default, parse-survival of the opt-out,
cast-free authorability. Stale #11637 pin prose updated.
- Regenerated: authorable-surface/api.json, authorable-defaults/api.json,
content/docs/references/api/rest-server.mdx.
Claude-Session: https://claude.ai/code/session_012xGvxcwPRTJfA7RfjXEYA4
Co-authored-by: Claude <noreply@anthropic.com>
|**requireAuth**|`never`| optional |[REMOVED]`api.requireAuth` was removed in @objectstack/spec 17 (#3963). Anonymous access to object data is now always denied — auth is a kernel concern, not a deployment posture. Delete the key. To publish something publicly, declare it: a public form view (`sharing.allowAnonymous`), a share link, or `book.audience: 'public'` — each derives its own narrow authorization instead of opening the whole data plane. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; apply them by hand. |
@@ -282,6 +283,7 @@ const result = BatchEndpointsConfigSchema.parse(data);
|**requireAuth**|`never`| optional |[REMOVED]`api.requireAuth` was removed in @objectstack/spec 17 (#3963). Anonymous access to object data is now always denied — auth is a kernel concern, not a deployment posture. Delete the key. To publish something publicly, declare it: a public form view (`sharing.allowAnonymous`), a share link, or `book.audience: 'public'` — each derives its own narrow authorization instead of opening the whole data plane. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; apply them by hand. |
0 commit comments