This is an automated email from the ASF dual-hosted git repository. harikrishna pushed a commit to branch FixUserListingDiskOffering in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit bd6d8d575cca1f5f1df8f66b35bab74be4b98730 Author: Harikrishna Patnala <[email protected]> AuthorDate: Mon Feb 21 16:43:20 2022 +0530 system_use column is now moved from disk_offering table to service_offering table, because it is applicable only to service offering. There is a left over usage of system_use when user tries to list disk offering. Now we deleted that reference. --- server/src/main/java/com/cloud/api/query/QueryManagerImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java b/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java index d6a3ab6..34ad0c6 100644 --- a/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java +++ b/server/src/main/java/com/cloud/api/query/QueryManagerImpl.java @@ -2932,10 +2932,7 @@ public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements Q if (account.getType() == Account.ACCOUNT_TYPE_NORMAL) { throw new InvalidParameterValueException("Only ROOT admins and Domain admins can list disk offerings with isrecursive=true"); } - } else { // domain + all ancestors - sc.addAnd("systemUse", SearchCriteria.Op.EQ, false); // non-root users should not see system offering at all } - } if (volumeId != null && storagePoolId != null) {
