Skip to content

Commit 4a3d548

Browse files
committed
chore(changeset): metadata-core gains two public exports — minor, widening
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018zT8d8NpiQ1ExhuNd5TxY6
1 parent 3730a51 commit 4a3d548

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
'@objectstack/rest': patch
33
'@objectstack/metadata-protocol': patch
4-
'@objectstack/metadata-core': patch
4+
'@objectstack/metadata-core': minor
55
---
66

77
A public form's intake withdrawal at any metadata layer now holds: layering can only narrow anonymous intake, never re-open it
88

9-
Clause-②: no
9+
Clause-②: yes (widening)
1010

1111
- **Anonymous form doors.** `GET /forms/:slug` and `POST /forms/:slug/submit` serve a public form only when no metadata layer they read withdraws it. A form withdrawn at one layer (`sharing.enabled: false` or `sharing.allowAnonymous: false`, or its public link named by a sharing that does not open it) answers `404 FORM_NOT_FOUND` on both doors and creates no record, whatever another layer says. A form open at every layer is served as before, and a form only an organization carries is still served there.
1212
- **Organization-scoped saves.** A `view` save that would re-open a public form another layer withdrew is refused with `403 NOT_OVERRIDABLE`, and the message names the remedy: publish the form from its environment-wide definition. An organization-scoped edit that keeps the form withdrawn, or that leaves its intake as it is, is still accepted.
13-
- **`@objectstack/metadata-core`** exports the shared judgement, `anonymousFormIntakeWithdrawnIn` and `anonymousFormWithdrawnSlugs`, which both the doors and the save path read.
13+
- **`@objectstack/metadata-core`** exports the shared judgement, `anonymousFormIntakeWithdrawnIn` and `anonymousFormWithdrawnSlugs` (new, additive public exports), which both the doors and the save path read.

0 commit comments

Comments
 (0)