You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2020/04/25 13:40:32 UTC

[kylin] 02/02: KYLIN-4119 Project ADMIN can not operate the Hybrid model

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 556be3bd5ea165c954ac7d916310f4f0055d6d91
Author: yaqian.zhang <59...@qq.com>
AuthorDate: Thu Apr 23 15:28:31 2020 +0800

    KYLIN-4119 Project ADMIN can not operate the Hybrid model
---
 webapp/app/js/controllers/cubeSchema.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/webapp/app/js/controllers/cubeSchema.js b/webapp/app/js/controllers/cubeSchema.js
index b9f7862..59fca3d 100755
--- a/webapp/app/js/controllers/cubeSchema.js
+++ b/webapp/app/js/controllers/cubeSchema.js
@@ -160,10 +160,6 @@ KylinApp.controller('CubeSchemaCtrl', function ($scope, QueryService, UserServic
         }
 
     });
-    // ~ public methods
-    $scope.filterProj = function(project){
-        return $scope.userService.hasRole('ROLE_ADMIN') || $scope.hasPermission(project,$scope.permissions.ADMINISTRATION.mask);
-    };
 
     $scope.removeElement = function (arr, element) {
         var index = arr.indexOf(element);