From 0c8c69f04a4e9eb7cba2d41f07b5f6d78d0eeee4 Mon Sep 17 00:00:00 2001 From: Kia Lam Date: Thu, 20 Jan 2022 13:53:14 -0800 Subject: [PATCH] Add RBAC for /topology_view endpoint. --- awx/ui/src/routeConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/src/routeConfig.js b/awx/ui/src/routeConfig.js index f945e9ea79..76bb2e39a5 100644 --- a/awx/ui/src/routeConfig.js +++ b/awx/ui/src/routeConfig.js @@ -185,6 +185,7 @@ function getRouteConfig(userProfile = {}) { deleteRoute('management_jobs'); if (userProfile?.isOrgAdmin) return routeConfig; deleteRoute('instance_groups'); + deleteRoute('topology_view'); if (!userProfile?.isNotificationAdmin) deleteRoute('notification_templates'); return routeConfig;