Skip to content

app-showcase: two sharing rules declared on objects without record sharing enabled — boot backfill fails, rules never take effect #9237

Description

@yinlianghui

Observed

Booting examples/app-showcase (objectstack dev) at 189a732254e6c46af75cfa38462693e67408d2d3 logs two WARNs during sharing-rule boot backfill:

  • share_open_tasks_with_manager
  • share_red_projects_with_execs

Both rules are declared on objects that do not have record sharing enabled, so the backfill fails and the rules silently never take effect.

Why it matters

app-showcase is the kitchen-sink conformance fixture — its coverage manifest exists precisely so that every advertised capability is demonstrated working. A sharing rule that is declared but can never materialise undermines that contract: the security-chain demo appears to include rule-based sharing while the rules are inert at runtime.

Expected

Either:

  1. enable record sharing (sharingModel / sharing config) on the two objects so the rules take effect, or
  2. if the declarations are intentional negative fixtures, register them as explicit waivers so the boot WARN is accounted for rather than looking like a defect.

Repro

git checkout 189a7322
cd examples/app-showcase && pnpm dev
# watch boot log for the two sharing-rule backfill WARNs

Recorded as an unassigned finding (not claiming). Discovered during a read-only promo-video production run against the pinned SHA above; relayed by the coordinating PM session as the producing session has no GitHub scope on this repository.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions