mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
Merge pull request #2873 from anoek/2803
Quick fix for 403 when editing groups with cloud credentials you don't have access to
This commit is contained in:
@@ -247,7 +247,7 @@
|
|||||||
{inventory_script: inventorySourceData.source_script}
|
{inventory_script: inventorySourceData.source_script}
|
||||||
);
|
);
|
||||||
if (inventorySourceData.credential){
|
if (inventorySourceData.credential){
|
||||||
GroupManageService.getCredential(inventorySourceData.credential).then(res => $scope.credential_name = res.data.name);
|
$scope.credential_name = inventorySourceData.summary_fields.credential.name;
|
||||||
}
|
}
|
||||||
$scope = angular.extend($scope, groupData);
|
$scope = angular.extend($scope, groupData);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user