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

Function liftUser

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

Source from the content-addressed store, hash-verified

238 : { action: "approve", source: "plugin-default" };
239
240const liftUser = (match: PolicyMatch): EffectivePolicy => ({
241 action: match.action,
242 source: "user",
243 pattern: match.pattern,
244 policyId: match.policyId,
245});
246
247export const resolveEffectivePolicy = (
248 toolId: string,

Callers 1

resolveEffectivePolicyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected