You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2019/07/26 09:25:54 UTC
[kylin] branch master updated: [KYLIN-4066] Fix No planner for not
ROLE_ADMIN user
This is an automated email from the ASF dual-hosted git repository.
nic 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 1f026a6 [KYLIN-4066] Fix No planner for not ROLE_ADMIN user
1f026a6 is described below
commit 1f026a6535ba00f8a60a7c6df9036ec827f08c72
Author: langdamao <la...@163.com>
AuthorDate: Thu Jul 4 17:34:06 2019 +0800
[KYLIN-4066] Fix No planner for not ROLE_ADMIN user
Signed-off-by: langdamao <la...@163.com>
---
webapp/app/partials/cubes/cube_detail.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/webapp/app/partials/cubes/cube_detail.html b/webapp/app/partials/cubes/cube_detail.html
index 8099845..0ca74b5 100755
--- a/webapp/app/partials/cubes/cube_detail.html
+++ b/webapp/app/partials/cubes/cube_detail.html
@@ -41,10 +41,10 @@
ng-if="userService.hasRole('ROLE_ADMIN')">
<a href="" ng-click="cube.visiblePage='hbase';getHbaseInfo(cube)">Storage</a>
</li>
- <li class="{{cube.visiblePage=='planner'? 'active':''}}" ng-if="(userService.hasRole('ROLE_ADMIN') || hasPermission(cube, permissions.ADMINISTRATION.mask)) && isShowCubeplanner">
+ <li class="{{cube.visiblePage=='planner'? 'active':''}}" ng-if="(userService.hasRole('ROLE_ADMIN') || hasPermission('cube', cube, permissions.ADMINISTRATION.mask)) && isShowCubeplanner">
<a href="" ng-click="cube.visiblePage='planner';getCubePlanner(cube);">Planner</a>
</li>
- <li class="{{cube.visiblePage=='streaming'? 'active':''}}" ng-if="(userService.hasRole('ROLE_ADMIN') || hasPermission(cube, permissions.ADMINISTRATION.mask)) && cube.streamingV2">
+ <li class="{{cube.visiblePage=='streaming'? 'active':''}}" ng-if="(userService.hasRole('ROLE_ADMIN') || hasPermission('cube', cube, permissions.ADMINISTRATION.mask)) && cube.streamingV2">
<a href="" ng-click="cube.visiblePage='streaming';getStreamingInfo(cube)">Streaming</a>
</li>
</ul>
@@ -293,4 +293,4 @@
<div class="col-md-7">{{receiverStats.consume_lag}}</div>
</div>
</div>
-</script>
\ No newline at end of file
+</script>