mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
Add RBAC for /topology_view endpoint.
This commit is contained in:
@@ -185,6 +185,7 @@ function getRouteConfig(userProfile = {}) {
|
|||||||
deleteRoute('management_jobs');
|
deleteRoute('management_jobs');
|
||||||
if (userProfile?.isOrgAdmin) return routeConfig;
|
if (userProfile?.isOrgAdmin) return routeConfig;
|
||||||
deleteRoute('instance_groups');
|
deleteRoute('instance_groups');
|
||||||
|
deleteRoute('topology_view');
|
||||||
if (!userProfile?.isNotificationAdmin) deleteRoute('notification_templates');
|
if (!userProfile?.isNotificationAdmin) deleteRoute('notification_templates');
|
||||||
|
|
||||||
return routeConfig;
|
return routeConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user