You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ka...@apache.org on 2017/04/13 11:22:09 UTC

[43/50] [abbrv] kylin git commit: minor bug fix

minor bug fix


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

Branch: refs/heads/KYLIN-2506
Commit: f44f828928aaecac3e7dafee69d9443b043b0d4f
Parents: 6b4f70d
Author: Hongbin Ma <ma...@apache.org>
Authored: Wed Apr 5 14:07:33 2017 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Tue Apr 11 14:54:21 2017 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/rest/service/ProjectService.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/f44f8289/server-base/src/main/java/org/apache/kylin/rest/service/ProjectService.java
----------------------------------------------------------------------
diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/ProjectService.java b/server-base/src/main/java/org/apache/kylin/rest/service/ProjectService.java
index e6f546c..8c0cf7a 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/service/ProjectService.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/service/ProjectService.java
@@ -104,7 +104,7 @@ public class ProjectService extends BasicService {
         return projects.subList(coffset, coffset + climit);
     }
 
-    @PreAuthorize(Constant.ACCESS_HAS_ROLE_ADMIN + " or hasPermission(#project, 'ADMINISTRATION') or hasPermission(#cube, 'MANAGEMENT')")
+    @PreAuthorize(Constant.ACCESS_HAS_ROLE_ADMIN + " or hasPermission(#project, 'ADMINISTRATION') or hasPermission(#project, 'MANAGEMENT')")
     public void deleteProject(String projectName, ProjectInstance project) throws IOException {
         getProjectManager().dropProject(projectName);