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

Function authorized

apps/cloud/src/auth/mirror-feeders.node.test.ts:643–643  ·  view source on GitHub ↗
(userId: string, org: string)

Source from the content-addressed store, hash-verified

641
642 /** Whether `userId` is authorized for `org` right now. */
643 const authorized = async (userId: string, org: string) => (await authorize(userId, org)) !== null;
644
645 /** A request-scoped layer whose `deleteOrganizationCascade` fails, everything else live. */
646 const servicesWithFailingPurge = (purges: string[]) =>

Callers 1

Calls 1

authorizeFunction · 0.70

Tested by

no test coverage detected