Skip to content

Commit

Permalink
fix(dedicated.vps): fix the access to vps dashboard with iam rules
Browse files Browse the repository at this point in the history
ref: MANAGER-16060

Signed-off-by: Guillaume Hyenne <[email protected]>
  • Loading branch information
ghyenne committed Nov 15, 2024
1 parent ae9859f commit e58b8c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/manager/modules/vps/src/import/vps.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,7 @@ export default /* @ngInject */ function VpsService(
) {
return $http
.get(`/services/${serviceId}`)
.then(({ data }) => data?.resource?.product?.name.includes('-resell'));
.then(({ data }) => data?.resource?.product?.name.includes('-resell'))
.catch(() => false);
};
}

0 comments on commit e58b8c4

Please sign in to comment.