mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Add RBAC for /topology_view endpoint.
This commit is contained in:
parent
5856f805fc
commit
0c8c69f04a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user