Hermes CI Fix
a2fedd892a
fix(cma): isolate KPI alignment tree by entity (project-20260918-alignment-entity-leak)
...
GET /api/cma/alignment/tree queried all active KPIs without entity_id filter,
so switching the three alignment modes showed other tenants' KPIs.
Add get_entity_id dependency and filter KPIDefinition by entity_id.
Three mode builders (_build_vertical_tree/_build_horizontal_tree/_build_bsc_chain) unchanged.
Auth semantics unchanged; cross-entity explicit entity_id still returns 403.
Test: tests/test_alignment_entity_isolation_20260918.py (3 modes x both directions, 403, 401).
2026-09-18 17:18:52 +08:00
..
2026-05-28 17:32:22 +08:00
2026-09-14 11:19:05 +08:00
2026-09-07 10:22:24 +08:00
2026-08-31 09:07:54 +08:00
2026-09-10 09:56:50 +08:00
2026-09-14 11:19:05 +08:00
2026-09-18 17:18:52 +08:00
2026-07-29 18:25:08 +08:00
2026-09-12 10:07:20 +08:00
2026-09-17 00:10:07 +08:00
2026-08-23 18:20:29 +08:00
2026-09-13 00:37:10 +08:00
2026-09-13 00:37:10 +08:00
2026-08-28 00:31:31 +08:00
2026-09-15 17:48:56 +08:00
2026-09-03 18:08:27 +08:00
2026-08-11 11:29:39 +08:00
2026-07-12 17:46:08 +08:00
2026-09-14 17:56:26 +08:00
2026-08-28 18:03:47 +08:00
2026-09-11 17:13:07 +08:00
2026-09-14 20:37:12 +08:00
2026-09-18 00:34:04 +08:00
2026-09-14 16:41:15 +08:00
2026-07-12 17:46:08 +08:00
2026-09-18 15:39:12 +08:00
2026-08-26 07:51:39 +08:00
2026-09-14 12:09:04 +08:00
2026-09-08 11:19:38 +08:00
2026-08-28 18:03:47 +08:00
2026-09-13 00:37:10 +08:00
2026-07-22 12:58:04 +08:00
2026-07-19 10:07:46 +08:00
2026-08-23 18:20:29 +08:00
2026-09-15 18:12:05 +08:00
2026-08-11 11:29:39 +08:00
2026-09-03 23:09:58 +08:00
2026-09-03 23:00:15 +08:00
2026-08-27 15:51:19 +08:00
2026-08-21 16:28:23 +08:00
2026-09-15 17:48:56 +08:00
2026-07-22 18:22:48 +08:00
2026-09-16 14:48:06 +08:00
2026-09-14 16:41:15 +08:00
2026-08-26 23:45:20 +08:00
2026-09-16 14:48:06 +08:00
2026-09-16 14:48:06 +08:00
2026-08-27 10:59:56 +08:00
2026-05-28 17:32:22 +08:00
2026-09-14 16:41:15 +08:00
2026-09-14 16:41:15 +08:00
2026-09-14 16:41:15 +08:00
2026-09-16 01:17:09 +08:00
2026-07-12 17:46:08 +08:00
2026-07-21 23:41:40 +08:00
2026-08-11 11:32:30 +08:00
2026-08-10 23:40:31 +08:00
2026-09-14 16:41:15 +08:00
2026-09-11 17:27:12 +08:00
2026-09-16 14:56:57 +08:00
2026-05-28 17:32:22 +08:00
2026-08-28 18:03:47 +08:00
2026-08-30 19:16:19 +08:00
2026-09-08 20:11:59 +08:00
2026-08-28 18:03:47 +08:00