cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 47365ac
Date Wed, 03 Sep 2014 00:57:06 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master f9450cc11 -> 47365ac4b


CLOUDSTACK-7471:Regular user is allowed to deleteNetwork/RestartNetwork
that does not belong to him.He is also able to deploy Vm for other
users.


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

Branch: refs/heads/master
Commit: 5f7b4dbbb2eea9f64687c31daa55708010e36eef
Parents: f9450cc
Author: Min Chen <min.chen@citrix.com>
Authored: Tue Sep 2 17:23:19 2014 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue Sep 2 17:24:08 2014 -0700

----------------------------------------------------------------------
 server/src/com/cloud/user/AccountManagerImpl.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5f7b4dbb/server/src/com/cloud/user/AccountManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/user/AccountManagerImpl.java b/server/src/com/cloud/user/AccountManagerImpl.java
index 98efc79..60836a5 100755
--- a/server/src/com/cloud/user/AccountManagerImpl.java
+++ b/server/src/com/cloud/user/AccountManagerImpl.java
@@ -537,8 +537,6 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager,
M
                     granted = true;
                     break;
                 }
-                granted = true;
-                break;
             }
 
             if (!granted) {


Mime
View raw message