Skip to content

Commit 8cbc5c9

Browse files
committed
test(dogfood): the criteria-less legacy rule takes main's organization stamp alone — the 7b-0 × main textual merge had kept both keys
Claude-Session: https://claude.ai/code/session_01NnXVu3vF2TKFLMi5Me4CUd Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4dadd7e commit 8cbc5c9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎packages/qa/dogfood/test/sharing-rule-criteria-required.dogfood.test.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,8 @@ describe('#3896 — a sharing rule POSTed without criteria is rejected, never ma
152152
const id = 'srule_3896_legacy';
153153
const driver = (ql as any).getDriverForObject('sys_sharing_rule');
154154
expect(driver, 'sys_sharing_rule driver must be resolvable').toBeTruthy();
155-
// The legacy row belongs to the install's organization, as every row does
156-
// since the ownership ceremony (ADR-0131 D1): its missing criteria is the
157-
// subject here, not its owner.
158-
const [organization] = (await ql.find('sys_organization', { context: SYS })) as Array<{ id: string }>;
159155
await driver.create('sys_sharing_rule', {
160156
id,
161-
organization_id: organization.id,
162157
name: 'legacy_match_all_3896',
163158
label: 'Legacy match-all',
164159
object_name: OBJECT,

0 commit comments

Comments
 (0)