Skip to content

Commit 5639aa0

Browse files
committed
docs(qa): access-permission-set-lifecycle — New on a read-only package lands in its .custom pair
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ihL2gLghEqeDKTbDTC7Zd
1 parent 4fd3557 commit 5639aa0

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

‎docs/qa/platform-checklist/areas/studio-authoring.json‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3633,10 +3633,10 @@
36333633
},
36343634
{
36353635
"id": "studio-authoring.access-permission-set-lifecycle",
3636-
"title": "Permission sets are created, found and locked honestly in Studio's Access pillar: the New dialog derives the identifier and refuses one already taken — published or draft — the rail searches and shows its empty states, and a read-only package offers no edit while the server refuses the forged write",
3636+
"title": "Permission sets are created, found and locked honestly in Studio's Access pillar: the New dialog derives the identifier and refuses one already taken — published or draft — the rail searches and shows its empty states, and on a read-only package New lands in its .custom pair while the packaged set offers no edit and the server refuses the forged write",
36373637
"since": "v18",
36383638
"status": "active",
3639-
"revision": 4,
3639+
"revision": 5,
36403640
"priority": "P2",
36413641
"surface": "mixed",
36423642
"personas": [
@@ -3656,7 +3656,7 @@
36563656
"New permission set again with the identifier project_editor (a draft holds it): capture the refusal and the network",
36573657
"publish; then New permission set with the identifier project_editor once more (now published): capture what happens, and GET /api/v1/meta/permission/project_editor (live) and ?state=draft",
36583658
"rail search: type part of the label, part of the identifier, then a string nothing matches",
3659-
"read-only: switch to com.example.showcase → Access; read the banner and the affordances on a packaged set; then forge PUT /api/v1/meta/permission/showcase_contributor?mode=draft&package=com.example.showcase with a modified body, and a brand-new name into the same package; GET showcase_contributor before and after"
3659+
"read-only: switch to com.example.showcase → Access; read the banner and the affordances on a packaged set (do not press New similar or Customize — those journeys are their own items); then New permission set (+) on the read-only package: give it a fresh name, save, and capture the network — POST /api/v1/packages/com.example.showcase/ensure-customization (expected 201 on the first use, 200 once the pair exists) followed by the create into com.example.showcase.custom; GET /api/v1/meta/permission/NAME?state=draft&package=com.example.showcase.custom; delete that set at teardown. Then forge PUT /api/v1/meta/permission/showcase_contributor?mode=draft&package=com.example.showcase with a modified body, and a brand-new name into the same package; GET showcase_contributor before and after"
36603660
],
36613661
"acceptance": [
36623662
{
@@ -3678,10 +3678,10 @@
36783678
"evidence": "the three DOM reads"
36793679
},
36803680
{
3681-
"clause": "on a read-only package the pillar shows the read-only banner, offers no New set and no editing control",
3681+
"clause": "on a read-only package the pillar shows the read-only banner and the packaged set offers no editing control, and New permission set creates into the base's customization pair, never into the base (ADR-0146 D3)",
36823682
"oracle": "screenshot",
3683-
"verify": "the banner names the package as read-only; no + button; the set's controls are disabled or absent",
3684-
"evidence": "the read-only screenshot described"
3683+
"verify": "the banner names the package as read-only; the packaged set's controls are disabled or absent; the + is offered (openCreateSet is defined when newInPair, StudioDesignSurface.tsx) and its save calls POST /api/v1/packages/com.example.showcase/ensure-customization (packages-io.ts ensureCustomizationPackage) before the create lands in com.example.showcase.custom — corroborated by the network trace and the draft read of step 6. QA run #29002 measured ensure 201 then the set created in com.example.showcase.custom. A set created into com.example.showcase itself is the FAIL",
3684+
"evidence": "the read-only screenshot described + the New save's network trace and draft read"
36853685
},
36863686
{
36873687
"clause": "the server refuses the forged write — 403 for the packaged set (ITEM_LOCKED), 422 WRITABLE_PACKAGE_REQUIRED for a new name — and the packaged set is byte-identical afterwards",
@@ -3698,7 +3698,7 @@
36983698
"stale-console-bundle"
36993699
],
37003700
"source": [
3701-
"ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the Access pillar: the New set dialog, the taken-identifier check findTakenIdentifier and CreateTakenNotice before the create's If-None-Match: *, discardDraft, the rail search and empty states)",
3701+
"ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx (the Access pillar: the New set dialog, the taken-identifier check findTakenIdentifier and CreateTakenNotice before the create's If-None-Match: *, discardDraft, the rail search and empty states, openCreateSet offered on a read-only base when newInPair — ADR-0146 D3, #28572) + ui/packages/app-shell/src/views/studio-design/packages-io.ts#ensureCustomizationPackage (the ensure door the New save calls first on a read-only base)",
37023702
"ui/packages/i18n/src/namespaces/studio/en.ts (engine.studio.access.created / createTaken / createTakenElsewhere / emptyMain / search / bannerTitleReadOnly)",
37033703
"access-security.readonly-package-locks-studio (the sibling read-only surfaces — cross-referenced)",
37043704
"cross-ref: the object designer and matrix locks on a read-only package are access-security.readonly-package-locks-studio; the matrix editor's own UX is studio-authoring.permission-matrix-editor-ux"
@@ -3727,6 +3727,12 @@
37273727
"date": "2026-11-01",
37283728
"change": "negative[1] moved to source[3]: it was a scope note naming the items that own the neighbouring surfaces, which no run can decide, so it could only score skipped. Its text is unchanged except the SCOPE: label, which now reads cross-ref:, the spelling the sibling source rows use. Ruling 6545938831 item ① on #28345 (scope notes leave negative[], which keeps only decidable entries; the #27651 precedent). No clause changed. Wave anchor #27377",
37293729
"ref": "#28345"
3730+
},
3731+
{
3732+
"revision": 5,
3733+
"date": "2026-11-02",
3734+
"change": "acceptance[3] and steps[5] re-pointed to ADR-0146 D3 (#28572): the read-only showcase package now offers New permission set, which ensures the pair and creates the set in com.example.showcase.custom. Measured input: QA run #29002 (W4-C3b1, 7fa9873f; card note 6570476620) — acceptance[3] failed only on its 'no New set' half; ensure answered 201, the set landed in the pair, the packaged set's controls were all disabled, and the forged writes got 403 ITEM_LOCKED / 422 WRITABLE_PACKAGE_REQUIRED (acceptance[4] passes as written). Re-read at base dfbe34d887 (StudioDesignSurface.tsx openCreateSet, packages-io.ts ensureCustomizationPackage). The clause now asserts New lands in the pair and never in the base; the read-only banner and the disabled controls are kept. No clause weakened",
3735+
"ref": "#28579"
37303736
}
37313737
]
37323738
},

0 commit comments

Comments
 (0)