From 9c435080ac3671f15803bea34c916e1816f6b8fc Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 18 Nov 2015 11:10:10 -0800 Subject: [PATCH] CheckAccess for related fields for teams for permissionsaddallowed --- awx/ui/client/src/controllers/Teams.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/controllers/Teams.js b/awx/ui/client/src/controllers/Teams.js index 05ef1ccc23..2eb49e7ac2 100644 --- a/awx/ui/client/src/controllers/Teams.js +++ b/awx/ui/client/src/controllers/Teams.js @@ -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) {