Skip to content

Commit 1e1b95f

Browse files
committed
chore: add changeset for ADR-0056 Option A + D7
1 parent 20022b7 commit 1e1b95f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@objectstack/plugin-security": minor
3+
"@objectstack/cli": patch
4+
"@objectstack/example-showcase": patch
5+
---
6+
7+
feat(security): public-form demo (Option A) + app-declared default profile wiring (ADR-0056 D7)
8+
9+
Wires ADR-0056's app-declarable default profile through the CLI so it actually
10+
takes effect under `pnpm dev`. `@objectstack/plugin-security` exports a new
11+
`appDefaultProfileName(permissions)` helper that extracts the first
12+
`isProfile && isDefault` profile name from a stack; `@objectstack/cli` (`serve.ts`)
13+
passes it as the SecurityPlugin `fallbackPermissionSet` (undefined → built-in
14+
`member_default` preserved, so apps that declare no default are unaffected).
15+
16+
The showcase gains a working web-to-lead **public form** (`showcase_inquiry` +
17+
an `allowAnonymous` FormView authorized by the declaration-derived
18+
`publicFormGrant`, no `guest_portal` profile) and an app-declared default
19+
profile (`showcase_member_default`), each covered by a dogfood proof over the
20+
real HTTP stack.

0 commit comments

Comments
 (0)