(tool: Tool)
| 4630 | // which connection serves it; the org/user split is handled by owner-scoped |
| 4631 | // policy rows + ownerRank, not the match pattern. |
| 4632 | const normalizedPolicyId = (tool: Tool): string => |
| 4633 | tool.static |
| 4634 | ? String(tool.address) |
| 4635 | : `${tool.integration}.${tool.owner}.${tool.connection}.${tool.name}`; |
| 4636 | |
| 4637 | const policiesList = (): Effect.Effect<readonly ToolPolicy[], StorageFailure> => |
| 4638 | core |
no outgoing calls
no test coverage detected