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/04/02 20:39:20 UTC
git commit: updated refs/heads/4.4 to 6af57d0
Repository: cloudstack
Updated Branches:
refs/heads/4.4 3ee55cd17 -> 6af57d08a
Fix a little bug to resource owner to checkAccess.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6af57d08
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6af57d08
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6af57d08
Branch: refs/heads/4.4
Commit: 6af57d08a669adce47c712fbe7412c7acaf8d8c3
Parents: 3ee55cd
Author: Min Chen <mi...@citrix.com>
Authored: Wed Apr 2 11:38:43 2014 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Wed Apr 2 11:38:43 2014 -0700
----------------------------------------------------------------------
server/src/com/cloud/api/dispatch/ParamProcessWorker.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6af57d08/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/dispatch/ParamProcessWorker.java b/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
index e11a772..7d1b42f 100644
--- a/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
+++ b/server/src/com/cloud/api/dispatch/ParamProcessWorker.java
@@ -263,7 +263,7 @@ public class ParamProcessWorker implements DispatchWorker {
}
if (!entitiesToOperate.isEmpty()) {
- _accountMgr.checkAccess(caller, AccessType.OperateEntry, apiName,
+ _accountMgr.checkAccess(owner, AccessType.OperateEntry, apiName,
entitiesToOperate.toArray(new ControlledEntity[entitiesToOperate.size()]));
}