This is an automated email from the ASF dual-hosted git repository. wu-sheng pushed a commit to branch refactor/decompose-large-files in repository https://gitbox.apache.org/repos/asf/skywalking-horizon-ui.git
commit 67445e1ebbe7be479a74116197dae6a862269bbe Author: Wu Sheng <[email protected]> AuthorDate: Sat Jun 27 07:48:11 2026 +0800 fix(bff): register RBAC policy for the network-processes route /api/ebpf/network/processes (added with the network-task process validation) had no ROUTE_POLICY entry, so the RBAC onRoute guard threw and the BFF crashed on boot. A stale dev process masked it until a fresh boot. Add the profile:read entry matching the sibling network routes. --- apps/bff/src/rbac/route-policy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/bff/src/rbac/route-policy.ts b/apps/bff/src/rbac/route-policy.ts index 257a74b..0327871 100644 --- a/apps/bff/src/rbac/route-policy.ts +++ b/apps/bff/src/rbac/route-policy.ts @@ -155,6 +155,7 @@ export const ROUTE_POLICY: Record<string, RoutePolicy> = { 'GET /api/layer/:key/ebpf/network/tasks': 'profile:read', 'GET /api/ebpf/network/tasks': 'profile:read', 'GET /api/ebpf/network/topology': 'profile:read', + 'GET /api/ebpf/network/processes': 'profile:read', 'POST /api/layer/:key/ebpf/network/process-relation-metrics': 'profile:read', 'GET /api/overview/dashboards': 'overview:read',
