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

Function ownerVisibility

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

Source from the content-addressed store, hash-verified

35// columns; it isn't assignable to the generic `Record<string, AnyColumn>` builder
36// (column-name positions are contravariant), so accept it loosely and re-narrow.
37const ownerVisibility = (builder: unknown, context: ExecutorOwnerPolicyContext) =>
38 ownerVisibilityCondition(builder as AnyConditionBuilder, context) as Condition | boolean;
39
40/** A truly global table (the blob store). Isolation is carried in the row's
41 * `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