mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 01:34:45 -03:30
Add RBAC for /topology_view endpoint.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user