weizhouapache commented on a change in pull request #5854:
URL: https://github.com/apache/cloudstack/pull/5854#discussion_r783858139



##########
File path: api/src/main/java/org/apache/cloudstack/acl/APIChecker.java
##########
@@ -27,4 +28,6 @@
     // If false, apiChecker is unable to handle the operation or not 
implemented
     // On exception, checkAccess failed don't allow
     boolean checkAccess(User user, String apiCommandName) throws 
PermissionDeniedException;
+
+    boolean checkAccess(Account account, User user, String apiCommandName, 
Role role) throws PermissionDeniedException;

Review comment:
       ```suggestion
       boolean checkAccess(Account account, User user, String apiCommandName, 
Role role, Boolean isDynamicApiCheckerEnabled) throws PermissionDeniedException;
   ```




-- 
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