winterhazel commented on code in PR #13236:
URL: https://github.com/apache/cloudstack/pull/13236#discussion_r3319152214


##########
plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaStatementCmd.java:
##########
@@ -20,7 +20,6 @@
 
 import javax.inject.Inject;
 
-import org.apache.cloudstack.api.ACL;

Review Comment:
   @DaanHoogland the access validations were moved to 
`QuotaResponseBuilderImpl#getAccountIdForQuotaStatement` and 
`QuotaResponseBuilderImpl#getDomainIdsForQuotaStatement`. These methods 
centralize how `quotaStatement` and `quotaResourceStatement` choose what to 
generate the statement for and how they perform the permission checking.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to