docs: clone endpoint, required-FK delete, Field.time, owner-scoped writes#2012
Merged
Merged
Conversation
…ites
Reflect runtime behavior shipped this cycle in the hand-written docs:
- api-reference + implementation-status: POST /data/:object/:id/clone (gated by
enable.clone; overrides; 201 {object,id,sourceId,record}).
- protocol/objectql/types: a required lookup FK escalates a defaulted set_null to
restrict → 409 DELETE_RESTRICTED; Field.time accepts HH:MM/HH:MM:SS.
- guides/security: member_default writes are owner-scoped (created_by) and now
enforced on by-id update/delete via a pre-image authorization check; admins /
modifyAllRecords bypass; audit-opt-out objects fail closed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Targeted hand-written-doc updates so the docs match the runtime behavior shipped this cycle (clone, delete-cascade, time validation, owner-scoped member writes).
guides/api-reference.mdx+concepts/implementation-status.mdxPOST /data/:object/:id/clone— gated byenable.clone(403 CLONE_DISABLEDwhen off), optional{ overrides },201 { object, id, sourceId, record }. (enable.clonewas already listed as a capability but had no runtime/endpoint until #1961.)protocol/objectql/types.mdxdeleteBehavior: a required lookup FK escalates a defaultedset_nulltorestrict→409 DELETE_RESTRICTED(withdependentObject/dependentCount), instead of a misleading "<field> is required" error (#1984).Field.timeacceptsHH:MM/HH:MM:SSand is validated as a time-of-day, not a date (#2004).guides/security.mdxmember_defaultwrites are owner-scoped (created_by) and now actually enforced on by-idupdate/deletevia a pre-image authorization check — a member can't modify another user's record (403);modifyAllRecords/admin bypass; audit-opt-out objects fail closed (#1994).Docs-only; no package version impact.
🤖 Generated with Claude Code