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.
This commit is contained in:
Min Chen 2014-09-02 17:23:19 -07:00
parent f9450cc118
commit 5f7b4dbbb2

View File

@ -537,8 +537,6 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
granted = true;
break;
}
granted = true;
break;
}
if (!granted) {