cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtutkow...@apache.org
Subject [27/50] git commit: updated refs/heads/sf-plugins to 157efc3
Date Sat, 19 Sep 2015 01:31:33 GMT
Return "false" instead of throwing an exception when the user doesn't have permission to execute
an operation


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/756c5ceb
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/756c5ceb
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/756c5ceb

Branch: refs/heads/sf-plugins
Commit: 756c5ceb4b7a9a3cf0bd167e0bbaf644401ca4d2
Parents: 8cd2827
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Tue Jul 14 20:36:53 2015 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Fri Sep 18 19:28:21 2015 -0600

----------------------------------------------------------------------
 .../org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/756c5ceb/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java
----------------------------------------------------------------------
diff --git a/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java
b/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java
index 58ebc4b..b626c67 100644
--- a/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java
+++ b/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java
@@ -494,7 +494,7 @@ public class ApiSolidFireServiceImpl2 extends AdapterBase implements APIChecker,
             return true;
         }
 
-        throw new PermissionDeniedException("Insufficient permissions to perform this action");
+        return false;
     }
 
     @Override


Mime
View raw message