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