cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [03/10] git commit: updated refs/heads/master to 134a799
Date Thu, 01 May 2014 23:04:31 GMT
CLOUDSTACK-6556: [Automation] Deploy VM failing with error "does not
have permission to access resource Ntwk".



Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/95e9db2f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/95e9db2f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/95e9db2f

Branch: refs/heads/master
Commit: 95e9db2f91451e7b88458baf5b599fc19e2c29b2
Parents: 09c9f8d
Author: Min Chen <min.chen@citrix.com>
Authored: Thu May 1 15:45:52 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Thu May 1 15:57:28 2014 -0700

----------------------------------------------------------------------
 server/src/com/cloud/vm/UserVmManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/95e9db2f/server/src/com/cloud/vm/UserVmManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java b/server/src/com/cloud/vm/UserVmManagerImpl.java
index 642879f..de66b15 100755
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -2682,7 +2682,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager,
Vir
             }
 
             // Perform account permission check on network
-            _accountMgr.checkAccess(caller, AccessType.UseEntry, network);
+            _accountMgr.checkAccess(owner, AccessType.UseEntry, network);
             IpAddresses requestedIpPair = null;
             if (requestedIps != null && !requestedIps.isEmpty()) {
                 requestedIpPair = requestedIps.get(network.getId());


Mime
View raw message