CheckAccess for related fields for teams

for permissionsaddallowed
This commit is contained in:
Jared Tabor
2015-11-18 11:10:10 -08:00
parent 7ffbb2dac6
commit 9c435080ac

View File

@@ -286,6 +286,7 @@ export function TeamsEdit($scope, $rootScope, $compile, $location, $log, $routeP
for (var relatedValues in relatedSets) { for (var relatedValues in relatedSets) {
$scope.search(relatedSets[relatedValues].iterator); $scope.search(relatedSets[relatedValues].iterator);
} }
CheckAccess({ scope: $scope }); //Does the user have access to add/edit Permissions?
Wait('stop'); Wait('stop');
}) })
.error(function (data, status) { .error(function (data, status) {