sureshanaparti commented on a change in pull request #4859:
URL: https://github.com/apache/cloudstack/pull/4859#discussion_r607800034
##########
File path: server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
##########
@@ -2199,6 +2207,7 @@ public Volume migrateVolume(MigrateVolumeCmd cmd) {
throw new InvalidParameterValueException("Volume " + vol + " is
already on the destination storage pool");
}
+ _accountMgr.checkAccess(caller, null, true, vol);
Review comment:
can call this as soon as `vol` is not null (at line #2201 ^^^)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]