We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e0df54 commit 7b96aa9Copy full SHA for 7b96aa9
1 file changed
server/src/main/java/com/cloud/api/ApiResponseHelper.java
@@ -2336,7 +2336,7 @@ public NetworkOfferingResponse createNetworkOfferingResponse(NetworkOffering off
2336
}
2337
if (so != null) {
2338
ServiceOffering soffering = ApiDBUtils.findServiceOfferingById(so);
2339
- if (soffering != null) {
+ if (soffering != null && _accountMgr.isRootAdmin(CallContext.current().getCallingAccountId())) {
2340
response.setServiceOfferingId(soffering.getUuid());
2341
response.setServiceOfferingName(soffering.getName());
2342
0 commit comments