cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/4.4-forward to 6435b26
Date Thu, 01 May 2014 22:08:43 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4-forward f0edfc7ac -> 6435b261d


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/6435b261
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6435b261
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6435b261

Branch: refs/heads/4.4-forward
Commit: 6435b261deb0160f774a8815f0024e38f49d45e9
Parents: f0edfc7
Author: Min Chen <min.chen@citrix.com>
Authored: Thu May 1 15:07:36 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Thu May 1 15:07:36 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/6435b261/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 44f0bbe..54b9c57 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);
             }


Mime
View raw message