(tool: Tool)
| 3396 | // which connection serves it; the org/user split is handled by owner-scoped |
| 3397 | // policy rows + ownerRank, not the match pattern. |
| 3398 | const normalizedPolicyId = (tool: Tool): string => |
| 3399 | tool.static |
| 3400 | ? String(tool.address) |
| 3401 | : `${tool.integration}.${tool.owner}.${tool.connection}.${tool.name}`; |
| 3402 | |
| 3403 | const policiesList = (): Effect.Effect<readonly ToolPolicy[], StorageFailure> => |
| 3404 | core |
no outgoing calls
no test coverage detected