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

Function ownerRankForRow

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

Source from the content-addressed store, hash-verified

3473 // ------------------------------------------------------------------
3474
3475 const ownerRankForRow = (row: { readonly owner: string }): number =>
3476 row.owner === "user" ? 0 : 1;
3477
3478 // Tool policies gate by tool identity (`<integration>.<tool>`), independent of
3479 // 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