Skip to content

Commit 494e770

Browse files
committed
chore: neutral wording for the walled public form pins and changeset
Claude-Session: https://claude.ai/code/session_018zT8d8NpiQ1ExhuNd5TxY6 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 873c7dd commit 494e770

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

‎.changeset/21468-walled-public-form-withdrawal.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@objectstack/metadata-protocol': patch
33
---
44

5-
An organization-scoped save that changes which public forms accept anonymous intake is now refused (`403 NOT_OVERRIDABLE`) when the anonymous form doors never read that organization, as on a walled tenancy posture (degraded or not), where an anonymous request resolves no organization. The message names the reason and the remedy: save the change env-wide, which withdraws or publishes the form on every anonymous door. Drafts and draft promotion are refused alike. Organization-scoped edits that leave a form's anonymous intake as the env-wide definition has it, env-wide saves, and single-posture deployments are unchanged.
5+
Withdrawing or publishing a public form on a walled tenancy posture (degraded or not) is now refused loudly at authoring, with `403 NOT_OVERRIDABLE`, when the save is organization-scoped and the anonymous form doors cannot honour it. The message names the remedy: save the change env-wide, which every anonymous door honours. Drafts and draft promotion are refused alike. Other organization-scoped edits, env-wide saves and single-posture deployments are unchanged.

‎packages/metadata-protocol/src/protocol.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14529,9 +14529,7 @@ export class ObjectStackProtocolImplementation implements
1452914529
* (`registerFormEndpoints` in `@objectstack/rest`). Where that is not the
1453014530
* write's organization (every walled posture, degraded or not, answers
1453114531
* `null`; so does a composition with no tenancy service), the doors read
14532-
* the env-wide definition and never see this overlay. Saving it would show
14533-
* the author a withdrawn (or published) form while the doors kept serving
14534-
* the env-wide state, so the write is refused instead and the author is
14532+
* the env-wide definition, so the write is refused and the author is
1453514533
* pointed at the env-wide save, which every door honours.
1453614534
*
1453714535
* Judged on the anonymous slug set alone ({@link anonymousFormIntakeSlugs}):

‎packages/qa/dogfood/test/public-form-withdrawal-walled.dogfood.test.ts‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
// and on a walled posture the engine refuses an org-less insert into one, so
1010
// it could not show the published side accepting intake.
1111
//
12-
// An anonymous form request carries no organization, and a walled posture
13-
// resolves none for it, so the anonymous form doors read the env-wide form
14-
// definition. An organization-scoped change to a form's anonymous intake
15-
// would therefore be shown in the editor and never reach a door; the save
16-
// door refuses it instead, naming the env-wide save as the remedy. Pinned:
12+
// On a walled posture the anonymous form doors read the env-wide form
13+
// definition, so an organization-scoped change to a form's anonymous intake is
14+
// refused at the save door, naming the env-wide save as the remedy. Pinned:
1715
//
1816
// - the organization-scoped withdrawal answers `403 NOT_OVERRIDABLE` and
1917
// nothing is saved (the organization still reads the published form, and

0 commit comments

Comments
 (0)