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

Function ownerRankForRow

packages/core/sdk/src/executor.ts:6039–6040  ·  view source on GitHub ↗
(row: { readonly owner: string })

Source from the content-addressed store, hash-verified

6037 // ------------------------------------------------------------------
6038
6039 const ownerRankForRow = (row: { readonly owner: string }): number =>
6040 row.owner === "user" ? 0 : 1;
6041
6042 // Tool policies gate by tool identity (`<integration>.<tool>`), independent of
6043 // which connection serves it; the org/user split is handled by owner-scoped

Callers 1

policiesListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected