You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2014/05/02 01:04:38 UTC
[10/10] git commit: updated refs/heads/master to 134a799
CLOUDSTACK-6556: 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/134a7998
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/134a7998
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/134a7998
Branch: refs/heads/master
Commit: 134a7998ce8eac7373532be2102e185fabefce0f
Parents: d7c5382
Author: Min Chen <mi...@citrix.com>
Authored: Thu May 1 15:07:36 2014 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Thu May 1 15:57:29 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/134a7998/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 de66b15..3d262b7 100755
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -2394,7 +2394,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
// Perform account permission check
if (network.getAclType() == ACLType.Account) {
- _accountMgr.checkAccess(caller, AccessType.UseEntry, network);
+ _accountMgr.checkAccess(owner, AccessType.UseEntry, network);
}
networkList.add(network);
}