Repository: cloudstack Updated Branches: refs/heads/4.4-forward 9782970ef -> f447a2c38
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/f447a2c3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f447a2c3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f447a2c3 Branch: refs/heads/4.4-forward Commit: f447a2c38c15ad5b7844237e72ab551149f46bfb Parents: 9782970 Author: Min Chen <min.c...@citrix.com> Authored: Fri May 9 16:39:23 2014 -0700 Committer: Min Chen <min.c...@citrix.com> Committed: Fri May 9 16:39:49 2014 -0700 ---------------------------------------------------------------------- .../cloudstack/iam/RoleBasedEntityAccessChecker.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f447a2c3/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; }