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

Function ownerRankForRow

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

Source from the content-addressed store, hash-verified

3803 // ------------------------------------------------------------------
3804
3805 const ownerRankForRow = (row: { readonly owner: string }): number =>
3806 row.owner === "user" ? 0 : 1;
3807
3808 // Tool policies gate by tool identity (`<integration>.<tool>`), independent of
3809 // 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