MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ownerVisibility

Function ownerVisibility

packages/core/sdk/src/core-schema.ts:36–37  ·  view source on GitHub ↗
(builder: unknown, context: ExecutorOwnerPolicyContext)

Source from the content-addressed store, hash-verified

34// columns; it isn't assignable to the generic `Record<string, AnyColumn>` builder
35// (column-name positions are contravariant), so accept it loosely and re-narrow.
36const ownerVisibility = (builder: unknown, context: ExecutorOwnerPolicyContext) =>
37 ownerVisibilityCondition(builder as AnyConditionBuilder, context) as Condition | boolean;
38
39/** A truly global table (the blob store). Isolation is carried in the row's
40 * `namespace` (which encodes the owner partition + plugin id), not a policy. */

Callers 1

ownedExecutorTableFunction · 0.85

Calls 1

ownerVisibilityConditionFunction · 0.90

Tested by

no test coverage detected