DaanHoogland commented on issue #5266:
URL: https://github.com/apache/cloudstack/issues/5266#issuecomment-891918972


   > some part of code to check access on commands can be optimized.
   > 
   > for example, it is not necessary to get Account and Role/RoleType in the 
checkAccess on each command.
   > we can load it only once and use it in all checkAccess on commands.
   
   good call @weizhouapache , we'll just have to make sure it is still 
functional for individual API calls as well. Not sure how much speed gain it 
will yield, but at least something.


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