Skip to content

Commit 8b676c6

Browse files
authored
Merge pull request #9339 from naveenpaul1/iam_user_integration_test
IAM | IAM user integration test for containerized deployments
2 parents 1a4d22d + 8192e3d commit 8b676c6

File tree

3 files changed

+490
-5
lines changed

3 files changed

+490
-5
lines changed

src/server/system_services/account_server.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ function get_account_info(account, include_connection_cache) {
10121012
}];
10131013
}
10141014
if (account.owner) {
1015-
info.owner = account.owner._id.toString();
1015+
info.owner = account_util.get_owner_account_id(account);
10161016
}
10171017
info.iam_path = account.iam_path;
10181018
if (account.next_password_change) {
@@ -1069,9 +1069,6 @@ function get_account_info(account, include_connection_cache) {
10691069
if (account.iam_user_policies) {
10701070
info.iam_user_policies = account.iam_user_policies;
10711071
}
1072-
if (account.owner) {
1073-
info.owner = account.owner._id.toString();
1074-
}
10751072

10761073
return info;
10771074
}

0 commit comments

Comments
 (0)