Repository navigation
Commit d6fc91a
committed
refactor(rest): move the security registrars' bodies into security-routes.ts (#23050 slice 6)
The bodies of RestServer#registerSecurityExplainEndpoints (GET/POST
{basePath}/security/explain, GET {basePath}/security/my-delegable-scope)
and RestServer#registerSecurityEndpoints (GET {basePath}/security/
suggested-bindings and its /:id/confirm and /:id/dismiss) move, unedited
and re-indented one level, to ONE new module. The class keeps both
private methods and their docblocks as host literals plus .call;
routeManager goes by value, kernelManager and securityServiceProvider as
getters. The imports only these bodies read move with them, each leaving
a pointer comment. The registrar list gains security-routes.ts (6 -> 7).
Move-only commit: the readers are re-pointed in the next commit.
Claude-Session: https://claude.ai/code/session_01Q9PZ5Pzqcus4woVvTZwWNU
Co-authored-by: Claude <noreply@anthropic.com>1 parent a515abd commit d6fc91a
3 files changed
Lines changed: 599 additions & 449 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments