CLOUDSTACK-6617: [Automation] detach / resize volume test cases failing with permission error.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/42e547cf Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/42e547cf Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/42e547cf Branch: refs/heads/4.4 Commit: 42e547cf0276c0e8289886260390ff025abaaad6 Parents: 89e0e63 Author: Min Chen <[email protected]> Authored: Fri May 9 16:39:23 2014 -0700 Committer: Daan Hoogland <[email protected]> Committed: Tue May 13 11:34:29 2014 +0200 ---------------------------------------------------------------------- .../cloudstack/iam/RoleBasedEntityAccessChecker.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/42e547cf/services/iam/plugin/src/org/apache/cloudstack/iam/RoleBasedEntityAccessChecker.java ---------------------------------------------------------------------- diff --git a/services/iam/plugin/src/org/apache/cloudstack/iam/RoleBasedEntityAccessChecker.java b/services/iam/plugin/src/org/apache/cloudstack/iam/RoleBasedEntityAccessChecker.java index f0df132..7b3d967 100644 --- a/services/iam/plugin/src/org/apache/cloudstack/iam/RoleBasedEntityAccessChecker.java +++ b/services/iam/plugin/src/org/apache/cloudstack/iam/RoleBasedEntityAccessChecker.java @@ -290,16 +290,16 @@ public class RoleBasedEntityAccessChecker extends DomainChecker implements Secur boolean allow; String denyMsg; - public CheckAccessResult(boolean allow) { - this(allow, null); + public CheckAccessResult(boolean aw) { + this(aw, null); } public CheckAccessResult(String msg) { this(false, msg); } - public CheckAccessResult(boolean allow, String msg) { - allow = allow; + public CheckAccessResult(boolean aw, String msg) { + allow = aw; denyMsg = msg; } @@ -307,8 +307,8 @@ public class RoleBasedEntityAccessChecker extends DomainChecker implements Secur return allow; } - public void setAllow(boolean allow) { - this.allow = allow; + public void setAllow(boolean aw) { + allow = aw; }
