mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 07:51:23 -03:30
CheckAccess for related fields for teams
for permissionsaddallowed
This commit is contained in:
parent
7ffbb2dac6
commit
9c435080ac
@ -3,7 +3,7 @@
|
||||
*
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @name controllers.function:Teams
|
||||
@ -286,6 +286,7 @@ export function TeamsEdit($scope, $rootScope, $compile, $location, $log, $routeP
|
||||
for (var relatedValues in relatedSets) {
|
||||
$scope.search(relatedSets[relatedValues].iterator);
|
||||
}
|
||||
CheckAccess({ scope: $scope }); //Does the user have access to add/edit Permissions?
|
||||
Wait('stop');
|
||||
})
|
||||
.error(function (data, status) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user