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