From 5f7b4dbbb2eea9f64687c31daa55708010e36eef Mon Sep 17 00:00:00 2001 From: Min Chen Date: Tue, 2 Sep 2014 17:23:19 -0700 Subject: [PATCH] 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. --- server/src/com/cloud/user/AccountManagerImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/com/cloud/user/AccountManagerImpl.java b/server/src/com/cloud/user/AccountManagerImpl.java index 98efc79e1a1..60836a51f08 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) {