Skip to content

Commit 3c8ac0e

Browse files
committed
fix(platform-objects, lint): regenerate en bundle; record the stack requires read in the key-surface pin
Claude-Session: https://claude.ai/code/session_01Utp6CYwoPbRRkiyph2ufCw Co-authored-by: Claude <noreply@anthropic.com>
1 parent 900c90a commit 3c8ac0e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎packages/lint/src/validate-security-posture.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,9 @@ const READ_SURFACES: Array<{ receiver: string; expected: string[]; declaredBy: s
17981798
// controlled-by-parent rules started judging an object on its MERGED
17991799
// field set: the extensions a stack (or each package body of an artifact)
18001800
// declares are folded onto the objects it declares.
1801-
expected: ['apps', 'books', 'capabilities', 'data', 'objectExtensions', 'objects', 'packages', 'permissions', 'positions'],
1801+
// [#30210] `requires` joined when the private-no-readscope hint started
1802+
// offering the hierarchy scopes only where `hierarchy-security` is declared.
1803+
expected: ['apps', 'books', 'capabilities', 'data', 'objectExtensions', 'objects', 'packages', 'permissions', 'positions', 'requires'],
18021804
declaredBy: 'ObjectStackSchema',
18031805
keys: () => Object.keys(ObjectStackSchema.shape),
18041806
},

‎packages/platform-objects/src/apps/translations/en.objects.generated.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
984984
sys_business_unit: {
985985
label: "Business Unit",
986986
pluralLabel: "Business Units",
987-
description: "Your company structure — divisions, departments, regions and offices — used to scope data and reports.",
987+
description: "Your company structure — divisions, departments, regions and offices. Sharing rules can share records with a unit, or a unit and the units under it: members get that access, and lose it when they leave. Letting a permission set read every record of a unit (read scope 'unit') needs the enterprise edition.",
988988
fields: {
989989
name: {
990990
label: "Name"
@@ -1010,7 +1010,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
10101010
},
10111011
timezone: {
10121012
label: "Timezone",
1013-
help: "IANA time zone (e.g. Asia/Shanghai) date boundaries are computed in for this unit. Leave unset to inherit the parent unit's zone, then the organization's, then UTC."
1013+
help: "IANA time zone (e.g. Asia/Shanghai) kept for this unit; leave it empty to take the parent unit's, then the organization's. It does not change any date calculation today: formulas, reports and displayed dates use Settings → Localization → Default timezone."
10141014
},
10151015
organization_id: {
10161016
label: "Organization",

0 commit comments

Comments
 (0)