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 12:49:09 UTC

[kylin] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 85f13e7  KYLIN-4119 Project ADMIN can not operate the Hybrid model
85f13e7 is described below

commit 85f13e760cb021dec69121becb306eef6366ba73
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);