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

Function liftUser

packages/core/sdk/src/policies.ts:283–288  ·  view source on GitHub ↗
(match: PolicyMatch)

Source from the content-addressed store, hash-verified

281 : { action: "approve", source: "plugin-default" };
282
283const liftUser = (match: PolicyMatch): EffectivePolicy => ({
284 action: match.action,
285 source: "user",
286 pattern: match.pattern,
287 policyId: match.policyId,
288});
289
290export const resolveEffectivePolicy = (
291 toolId: string,

Callers 1

resolveEffectivePolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected